Skip to content

Commit

Permalink
fixes for service docker-image
Browse files Browse the repository at this point in the history
Signed-off-by: kumarabd <[email protected]>
  • Loading branch information
kumarabd committed Oct 22, 2020
1 parent 79cf113 commit 87de7f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM golang:1.13.5 as bd
FROM golang:1.13.7 as bd
WORKDIR /github.com/layer5io/sample-app-service
ADD . .
RUN GOPROXY=direct GOSUMDB=off go build -a -o ./main .
RUN go build -a -o ./main .

FROM alpine:latest
COPY --from=bd /github.com/layer5io/sample-app-service/** /home/
FROM golang:1.13.7
COPY --from=bd /github.com/layer5io/sample-app-service/main /home/main
WORKDIR /home/
EXPOSE 9091
CMD ["./main"]

0 comments on commit 87de7f7

Please sign in to comment.