Detailed version
All checks were successful
release-nightly / build-docker (push) Successful in 1m2s

This commit is contained in:
2023-12-13 20:00:05 +08:00
parent 8f1ac85148
commit 0d8583e395
3 changed files with 17 additions and 4 deletions

View File

@ -3,7 +3,7 @@ FROM golang:alpine as roadsign-server
WORKDIR /source
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /dist ./pkg/cmd/server/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/server/main.go
# Runtime
FROM golang:alpine