🔨 Clean up dockerfile

This commit is contained in:
2024-06-22 18:09:41 +08:00
parent 0f56dba457
commit 93b924d0a4
5 changed files with 24 additions and 37 deletions

View File

@ -1,8 +1,6 @@
# Building Backend
FROM golang:alpine as paperclip-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