aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c91da9e..740cc092 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,10 +17,12 @@ RUN pip install -r requirements.txt
COPY . .
-RUN python manage.py collectstatic --noinput
+# RUN python manage.py collectstatic --noinput
EXPOSE 8080
# replace APP_NAME with module name
-CMD ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"]
+# CMD ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"]
+CMD ["python3", "manage.py", "runserver", ":8080"]
+