From a0cda2a56ce15cb4cde2a21162002d59f2c57474 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 17 Jan 2023 16:51:33 +0100 Subject: [PATCH] fix(api): docker entrypoint use exec exec into gunicorn instead of spawning gunicorn. Part-of: --- api/docker/server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/docker/server.sh b/api/docker/server.sh index 044e584e2..50ec5f7b7 100755 --- a/api/docker/server.sh +++ b/api/docker/server.sh @@ -6,7 +6,7 @@ funkwhale-manage collectstatic --noinput funkwhale-manage migrate # shellcheck disable=SC2086 -gunicorn config.asgi:application \ +exec gunicorn config.asgi:application \ --workers "${FUNKWHALE_WEB_WORKERS-1}" \ --worker-class uvicorn.workers.UvicornWorker \ --bind 0.0.0.0:5000 \