🔨 Update dockerfile

This commit is contained in:
2024-06-16 23:21:31 +08:00
parent 45048ea814
commit 69fdee72f5
2 changed files with 2 additions and 104 deletions

View File

@ -5,7 +5,7 @@ RUN apk add nodejs npm
WORKDIR /source
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/cmd/main.go
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/main.go
# Runtime
FROM golang:alpine