Skip to content

Commit 87de7f7

Browse files
committed
fixes for service docker-image
Signed-off-by: kumarabd <abishekkumar92@gmail.com>
1 parent 79cf113 commit 87de7f7

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)