mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 22:34:02 +03:00
Small updates for docker file
This commit is contained in:
+2
-3
@@ -24,9 +24,8 @@ RUN set -x \
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
ENTRYPOINT ["/mtg"]
|
ENTRYPOINT ["/mtg"]
|
||||||
ENV MTG_BIND=0.0.0.0:3128 \
|
CMD ["run", "/config.toml"]
|
||||||
MTG_STATS_BIND=0.0.0.0:3129
|
|
||||||
EXPOSE 3128 3129
|
|
||||||
|
|
||||||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
COPY --from=build /app/mtg /mtg
|
COPY --from=build /app/mtg /mtg
|
||||||
|
COPY --from=build /app/example.config.toml /config.toml
|
||||||
|
|||||||
Reference in New Issue
Block a user