This commit is contained in:
parent
0a477144b4
commit
122faa1c5d
5 changed files with 50 additions and 2 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue