From 7128e70e50779ed9ee5709e9508563ccc5080f03 Mon Sep 17 00:00:00 2001 From: 9seconds Date: Fri, 12 Oct 2018 10:50:52 +0300 Subject: [PATCH] Minor changes in dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c3e2e2..a86a6f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ RUN set -x \ curl \ git \ make \ - upx \ - && update-ca-certificates + upx COPY . /go/src/github.com/9seconds/mtg/ @@ -26,7 +25,7 @@ RUN set -x \ FROM scratch -ENTRYPOINT ["/usr/local/bin/mtg"] +ENTRYPOINT ["/mtg"] ENV MTG_IP=0.0.0.0 \ MTG_PORT=3128 \ MTG_STATS_IP=0.0.0.0 \ @@ -34,4 +33,4 @@ ENV MTG_IP=0.0.0.0 \ EXPOSE 3128 3129 COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt -COPY --from=0 /go/src/github.com/9seconds/mtg/mtg /usr/local/bin/mtg +COPY --from=0 /go/src/github.com/9seconds/mtg/mtg /mtg