Browse Source

Copy backend-protobuf/go in Dockerfile

master
Daniel Lim 2 years ago
parent
commit
42e1b651d4
  1. 1
      Dockerfile

1
Dockerfile

@ -4,6 +4,7 @@ RUN apk add --no-cache git=2.18.1-r0
WORKDIR /src
COPY go.mod go.sum .env *.go ./
COPY backend-protobuf/go ./backend-protobuf/go
RUN go get -d -v ./...
RUN CGO_ENABLED=0 go build -ldflags "-s -w"

Loading…
Cancel
Save