Run mailman using ENTRYPOINT instead of CMD.

This commit is contained in:
Abhilash Raj
2017-04-07 00:51:02 -07:00
parent ad1aaff624
commit 9a0421ea6d
2 changed files with 2 additions and 5 deletions

View File

@@ -22,4 +22,4 @@ WORKDIR /opt/mailman
EXPOSE 8001
CMD ["/opt/run.sh"]
ENTRYPOINT ["/opt/run.sh"]

View File

@@ -32,7 +32,4 @@ WORKDIR /opt/mailman-web
EXPOSE 8000
ENV UWSGI_WSGI_FILE=wsgi.py UWSGI_HTTP=:8000 UWSGI_WORKERS=2 \
UWSGI_THREADS=4
CMD ["/opt/run.sh"]
ENTRYPOINT ["/opt/run.sh"]