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:
parent
afbbfbbf83
commit
4fe5ab8d09
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user