Minor changes in dockerfile

This commit is contained in:
9seconds
2018-10-12 10:50:52 +03:00
parent cf9bf56d8e
commit 7128e70e50
+3 -4
View File
@@ -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