fix(api): docker entrypoint use exec

exec into gunicorn instead of spawning gunicorn.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>
This commit is contained in:
jo 2023-01-17 16:51:33 +01:00 committed by Marge
parent d4d6fa9b82
commit a0cda2a56c
1 changed files with 1 additions and 1 deletions

View File

@ -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 \