fix: fix Dockerfile
This commit is contained in:
parent
e0b2d1ae47
commit
d37f836d53
@ -30,6 +30,8 @@ ADD go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
COPY --from=builder /web/build ./web
|
||||
RUN ls ./web
|
||||
RUN ls ./web/default
|
||||
RUN go build -ldflags "-s -w -X 'one-api/common.Version=$(cat VERSION)' -extldflags '-static'" -o one-api
|
||||
|
||||
FROM alpine
|
||||
|
Loading…
Reference in New Issue
Block a user