fix dockerfile
This commit is contained in:
@@ -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"]
|
||||
@@ -1,3 +1,5 @@
|
||||
django
|
||||
djangorestframework
|
||||
pygments
|
||||
gunicorn
|
||||
whitenoise
|
||||
Reference in New Issue
Block a user