fix(api): docker entrypoint use exec

exec into gunicorn instead of spawning gunicorn.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2331>
environments/review-docs-docs-mup14p/deployments/16950
jo 2023-01-17 16:51:33 +01:00 zatwierdzone przez Marge
rodzic d4d6fa9b82
commit a0cda2a56c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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