Skip to content

Commit 4046865

Browse files
authored
Merge pull request #65 from layer5io/kumarabd/fixes/service
fixes for service docker-image
2 parents 79cf113 + 87de7f7 commit 4046865

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

service/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM golang:1.13.5 as bd
1+
FROM golang:1.13.7 as bd
22
WORKDIR /github.com/layer5io/sample-app-service
33
ADD . .
4-
RUN GOPROXY=direct GOSUMDB=off go build -a -o ./main .
4+
RUN go build -a -o ./main .
55

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

0 commit comments

Comments
 (0)