1
0
mirror of https://github.com/songquanpeng/one-api.git synced 2025-02-06 10:44:25 +00:00

fix: fix syntax error

This commit is contained in:
JustSong 2025-02-01 13:38:57 +08:00
parent afbbfbbf83
commit 4fe5ab8d09

View File

@ -35,9 +35,7 @@ RUN go mod download
COPY . .
COPY --from=builder /web/build ./web/build
RUN go build -trimpath \
-ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(cat VERSION)' \
-o one-api
RUN go build -trimpath -ldflags "-s -w -X 'github.com/songquanpeng/one-api/common.Version=$(cat VERSION)'" -o one-api
# Final runtime image
FROM ubuntu:22.04