#1 #2: first 'production' deployment (will get better); encrypted production secrets; add Makefile

This commit is contained in:
Lexi / Zoe 2019-10-19 01:48:41 +02:00
parent 0a477144b4
commit 122faa1c5d
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
5 changed files with 50 additions and 2 deletions

View file

@ -13,5 +13,9 @@ RUN pip3 install --upgrade pip && \
COPY . .
CMD ["gunicorn", "pluralityspace.wsgi:application", \
"--bind", "0.0.0.0:8042"]
# TODO #1: build a real production setup with gunicorn, nginx for static files etc.
#CMD ["gunicorn", "pluralityspace.wsgi:application", \
# "--bind", "0.0.0.0:8042"]
ENTRYPOINT ["python3", "./manage.py"]
CMD ["runserver", "0.0.0.0:8042"]