Run uwsgi in CMD.

This commit is contained in:
Abhilash Raj
2017-04-21 16:06:23 -07:00
parent 8630f39a13
commit 70afa6daf7
2 changed files with 3 additions and 2 deletions

View File

@@ -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"]

View File

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