🐛 Fix dockerfile
This commit is contained in:
parent
9366f6e56e
commit
c8431281d7
@ -1,11 +1,9 @@
|
||||
# Building Backend
|
||||
FROM golang:alpine as messaging-server
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user