🔨 Clean up dockerfile

This commit is contained in:
2024-06-22 18:09:08 +08:00
parent 7007cda8f2
commit a4ec986b77
8 changed files with 39 additions and 78 deletions

View File

@ -1,8 +1,6 @@
# Building Backend
FROM golang:alpine as passport-server
RUN apk add nodejs npm
WORKDIR /source
COPY . .
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -buildvcs -o /dist ./pkg/main.go