mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 10:54:02 +03:00
Minor changes in dockerfile
This commit is contained in:
+3
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user