From b988b26a1d78fb84f79b3731df384603dc2e616f Mon Sep 17 00:00:00 2001 From: Leo Date: Mon, 4 Jan 2021 01:10:09 +0100 Subject: [PATCH] Update Go and set entrypoint instead of command --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c5d6d84..8ce2836 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.13 as builder +FROM golang:1.15 as builder COPY . /opt WORKDIR /opt @@ -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"]