🐛 Fix dockerfile
This commit is contained in:
parent
c79c8d3618
commit
dc86e33b9e
@ -1,11 +1,9 @@
|
|||||||
# Building Backend
|
# Building Backend
|
||||||
FROM golang:alpine as interactive-server
|
FROM golang:alpine as interactive-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