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