Skip to content

Commit

Permalink
fix: fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Feb 1, 2025
1 parent afbbfbb commit 4fe5ab8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fe5ab8

Please sign in to comment.