Setup gunicorn for production WSGI server
This commit is contained in:
parent
97d786e969
commit
e2e0144b6a
4 changed files with 14 additions and 1 deletions
|
@ -36,6 +36,8 @@ COPY --chown=website ./website ./website
|
|||
|
||||
RUN SECRET_KEY=none python manage.py collectstatic --noinput --clear -v3
|
||||
|
||||
CMD gunicorn
|
||||
|
||||
# Just dev stuff
|
||||
FROM production as dev
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue