aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-18 11:28:24 +0530
committerBobby <[email protected]>2022-07-18 11:28:24 +0530
commit2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428 (patch)
tree4a5a5c0a768503abbb4ff849bc8e4129be13d856
parentd86dc34804fd9c7710dff395d32797cff689555f (diff)
downloadthatcomputerscientist-2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428.tar.xz
thatcomputerscientist-2a5bb7f6bb48e80d8c0cf22fe80af9ecd1ce7428.zip
Changing to run server command Django
-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"]
+