Run uwsgi in CMD.
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user