fix dockerfile

This commit is contained in:
ducoterra
2020-04-24 19:47:27 -04:00
parent 6631529a06
commit c6081eba60
2 changed files with 5 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
FROM python:3.8.2
RUN pip install django
WORKDIR /app
COPY config config
COPY api api
COPY manage.py manage.py
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt
CMD ["python","manage.py","runserver", "0.0.0.0:8000"]
CMD ["gunicorn","-b",":8000", "-w", "4", "config.wsgi"]

View File

@@ -1,3 +1,5 @@
django
djangorestframework
pygments
gunicorn
whitenoise