Fixing default Dockerfile entrypoint. Gunicorn needed a few tweaks (#8744)

This commit is contained in:
Craig Rueda 2019-12-04 13:13:15 -08:00 committed by Maxime Beauchemin
parent 3d2117809f
commit e55001b88f
1 changed files with 6 additions and 1 deletions

View File

@ -20,8 +20,13 @@ set -eo pipefail
if [ "${#}" -ne 0 ]; then
exec "${@}"
else
gunicorn --bind "0.0.0.0:${SUPERSET_PORT}" \
gunicorn \
--bind "0.0.0.0:${SUPERSET_PORT}" \
--access-logfile '-' \
--error-logfile '-' \
--workers 1 \
--worker-class gthread \
--threads 20 \
--timeout 60 \
--limit-request-line 0 \
--limit-request-field_size 0 \