diff --git a/Dockerfile b/Dockerfile index a265c31..42a5890 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,4 @@ COPY . /app EXPOSE 8000 -CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] +CMD ["gunicorn", "--reload", "grasa_event_locator.wsgi"] diff --git a/Dockerfile.production b/Dockerfile.production index 2cedc6b..bc2534e 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -19,4 +19,4 @@ COPY . /app EXPOSE 8000 -CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] +CMD ["gunicorn", "grasa_event_locator.wsgi"]