aboutsummaryrefslogtreecommitdiffstats
path: root/core/entrypoint.sh
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-08-11 11:35:18 -0500
committerJesús <heckyel@hyperbola.info>2021-08-11 11:35:18 -0500
commit3321c3c185e587885bce9e9cebd47a22dc27bd51 (patch)
tree01402129ba94937224d6b5d53c23c339908c1ec7 /core/entrypoint.sh
parent3b7e6caa66799c5d35cc8c58e502e1a1a0dbd329 (diff)
downloadyt-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.sh4
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