From 3321c3c185e587885bce9e9cebd47a22dc27bd51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Wed, 11 Aug 2021 11:35:18 -0500 Subject: generate lightweight image --- core/entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/entrypoint.sh') 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 -- cgit v1.2.3