diff options
author | Jesús <heckyel@hyperbola.info> | 2021-08-11 11:35:18 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-08-11 11:35:18 -0500 |
commit | 3321c3c185e587885bce9e9cebd47a22dc27bd51 (patch) | |
tree | 01402129ba94937224d6b5d53c23c339908c1ec7 /core/entrypoint.sh | |
parent | 3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329 (diff) | |
download | yt-local-docker-3321c3c185e587885bce9e9cebd47a22dc27bd51.tar.lz yt-local-docker-3321c3c185e587885bce9e9cebd47a22dc27bd51.tar.xz yt-local-docker-3321c3c185e587885bce9e9cebd47a22dc27bd51.zip |
generate lightweight image
Diffstat (limited to 'core/entrypoint.sh')
-rw-r--r-- | core/entrypoint.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/entrypoint.sh b/core/entrypoint.sh index c27698a..1d6f394 100644 --- a/core/entrypoint.sh +++ b/core/entrypoint.sh @@ -79,4 +79,6 @@ fi /entrypoint-tor.sh "$@" & -exec /usr/bin/python3 /srv/app/server.py +cd /srv/app || exit + +exec gunicorn -b 0.0.0.0:8080 -w 4 server:site_dispatch |