Skip to content

Commit

Permalink
Merge pull request #65 from layer5io/kumarabd/fixes/service
Browse files Browse the repository at this point in the history
fixes for service docker-image
  • Loading branch information
kumarabd authored Oct 22, 2020
2 parents 79cf113 + 87de7f7 commit 4046865
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 4046865

Please sign in to comment.