update gunicorn
This commit is contained in:
+4
-1
@@ -11,4 +11,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . /app/
|
||||
|
||||
|
||||
CMD ["sh", "-c", "python manage.py makemigrations && python manage.py migrate && python manage.py collectstatic && python manage.py runserver 0.0.0.0:8000"]
|
||||
CMD ["sh", "-c", "python manage.py makemigrations && \
|
||||
python manage.py migrate && \
|
||||
python manage.py collectstatic --no-input && \
|
||||
gunicorn backend.wsgi:application --bind 0.0.0.0:8000 --workers 3"]
|
||||
Reference in New Issue
Block a user