This commit is contained in:
kreker06
2026-04-10 19:39:50 +03:00
committed by GitHub

View File

@@ -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 []