Skip to content

Commit

Permalink
Update Go and set entrypoint instead of command
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo committed Jan 4, 2021
1 parent 2256352 commit b988b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13 as builder
FROM golang:1.15 as builder

COPY . /opt
WORKDIR /opt
Expand All @@ -10,4 +10,4 @@ FROM scratch
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=builder /opt/bin/app /

CMD ["/app"]
ENTRYPOINT ["/app"]

0 comments on commit b988b26

Please sign in to comment.