diff --git a/web/Dockerfile b/web/Dockerfile index db2df1d..2b03b85 100644 --- a/web/Dockerfile +++ b/web/Dockerfile @@ -33,3 +33,5 @@ WORKDIR /opt/mailman-web EXPOSE 8000 ENTRYPOINT ["/opt/run.sh"] + +CMD ["uwsgi", "--http-auto-chunked --http-keepalive --logto $UWSGI_LOG_URL"] diff --git a/web/assets/run.sh b/web/assets/run.sh index df20830..17a65c5 100755 --- a/web/assets/run.sh +++ b/web/assets/run.sh @@ -107,5 +107,4 @@ if [[ ! -v UWSGI_WSGI_FILE ]]; then export UWSGI_THREADS=4 fi -# Run the web server. -uwsgi --http-auto-chunked --http-keepalive --logto "$UWSGI_LOG_URL" +exec $@