mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 02:44:02 +03:00
Minor changes in dockerfile
This commit is contained in:
+3
-4
@@ -10,8 +10,7 @@ RUN set -x \
|
|||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
upx \
|
upx
|
||||||
&& update-ca-certificates
|
|
||||||
|
|
||||||
COPY . /go/src/github.com/9seconds/mtg/
|
COPY . /go/src/github.com/9seconds/mtg/
|
||||||
|
|
||||||
@@ -26,7 +25,7 @@ RUN set -x \
|
|||||||
|
|
||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/local/bin/mtg"]
|
ENTRYPOINT ["/mtg"]
|
||||||
ENV MTG_IP=0.0.0.0 \
|
ENV MTG_IP=0.0.0.0 \
|
||||||
MTG_PORT=3128 \
|
MTG_PORT=3128 \
|
||||||
MTG_STATS_IP=0.0.0.0 \
|
MTG_STATS_IP=0.0.0.0 \
|
||||||
@@ -34,4 +33,4 @@ ENV MTG_IP=0.0.0.0 \
|
|||||||
EXPOSE 3128 3129
|
EXPOSE 3128 3129
|
||||||
|
|
||||||
COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
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