aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-18 11:45:40 +0530
committerBobby <[email protected]>2022-07-18 11:45:40 +0530
commitdc79c87045474066128733e03c5e7e70a5d508dd (patch)
tree1bd22f33eaf7e6c8bba03bcd75ef9b08993770c4 /Dockerfile
parent92bfcab3712b99129e0fc8f768965b0945868ba4 (diff)
downloadthatcomputerscientist-dc79c87045474066128733e03c5e7e70a5d508dd.tar.xz
thatcomputerscientist-dc79c87045474066128733e03c5e7e70a5d508dd.zip
Added whitenoise
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 9ed09417..3c91da9e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,12 +17,10 @@ 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 ["python3", "manage.py", "runserver", "8080"]
-
+CMD ["gunicorn", "--bind", ":8080", "--workers", "2", "thatcomputerscientist.wsgi"]