Fixed issue where server was running in 2 instances (once with guinicorn and once with manage.py runserver)

This commit is contained in:
chibicitiberiu 2018-10-30 12:04:08 +02:00 committed by GitHub
parent fc876a4bce
commit 7f932e4010
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,5 +13,5 @@ COPY ./config/ ./config/
#RUN python manage.py migrate #RUN python manage.py migrate
CMD ["python", "./manage.py", "runserver", "8000", "--noreload"] #CMD ["python", "./manage.py", "runserver", "8000", "--noreload"]
#CMD ["gunicorn", "YtManager.wsgi", "--bind", "0.0.0.0:8000"] #CMD ["gunicorn", "YtManager.wsgi", "--bind", "0.0.0.0:8000"]