Update english.dockerfile

This commit is contained in:
ckt 2023-07-10 20:27:42 +08:00 committed by GitHub
parent b617599211
commit 6e06dcfcf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ COPY go.mod .
COPY go.sum . COPY go.sum .
RUN go mod download RUN go mod download
COPY --from=translator /app . COPY --from=translator /app .
COPY --from=builder /build/build ./web/build COPY --from=builder /build/web/build ./web/build
RUN go build -ldflags "-s -w -X 'one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api RUN go build -ldflags "-s -w -X 'one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api
# Final stage # Final stage