aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-07-20 19:38:10 +0530
committerBobby <[email protected]>2022-07-20 19:38:10 +0530
commit4b210c88bfa02b9d835f4e37c33ec88daab55dad (patch)
tree6c719f45facf0a89374a988a82a4bef3c4bbd4dc /Dockerfile
parent9d6dfdb34ccca538d220e127724a2a792cd0e1b3 (diff)
downloadthatcomputerscientist-4b210c88bfa02b9d835f4e37c33ec88daab55dad.tar.xz
thatcomputerscientist-4b210c88bfa02b9d835f4e37c33ec88daab55dad.zip
Making Migrations and Migrate + Setting Debug = False
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 3c91da9e..a6f5e7f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,7 +18,8 @@ RUN pip install -r requirements.txt
COPY . .
RUN python manage.py collectstatic --noinput
-
+RUN python manage.py makemigrations
+RUN python manage.py migrate
EXPOSE 8080