mirror of
https://github.com/Flowseal/tg-ws-proxy.git
synced 2026-05-24 00:11:42 +03:00
Compare commits
2 Commits
main
...
b6828e97e6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b6828e97e6 | ||
|
|
8507744c4a |
@@ -33,7 +33,7 @@ RUN apt-get update \
|
|||||||
&& useradd --system --gid app --create-home --home-dir /home/app app
|
&& useradd --system --gid app --create-home --home-dir /home/app app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /opt/venv /opt/venv
|
COPY --from=builder --chown=app:app /opt/venv /opt/venv
|
||||||
COPY proxy ./proxy
|
COPY proxy ./proxy
|
||||||
COPY docs/README.md LICENSE ./
|
COPY docs/README.md LICENSE ./
|
||||||
|
|
||||||
@@ -41,5 +41,5 @@ USER app
|
|||||||
|
|
||||||
EXPOSE 1443/tcp
|
EXPOSE 1443/tcp
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--", "/bin/sh", "-lc", "set -eu; args=\"--host ${TG_WS_PROXY_HOST} --port ${TG_WS_PROXY_PORT}\"; for dc in ${TG_WS_PROXY_DC_IPS}; do args=\"$args --dc-ip $dc\"; done; exec python -u proxy/tg_ws_proxy.py $args \"$@\"", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "--", "/bin/sh", "-lc", "set -eu; args=\"--host ${TG_WS_PROXY_HOST} --port ${TG_WS_PROXY_PORT}\"; for dc in ${TG_WS_PROXY_DC_IPS}; do args=\"$args --dc-ip $dc\"; done; exec /opt/venv/bin/python -u proxy/tg_ws_proxy.py $args \"$@\"", "--"]
|
||||||
CMD []
|
CMD []
|
||||||
|
|||||||
Reference in New Issue
Block a user