From 6eb06280c58adfe3e6e551c8a4a8bc9e4dd95d32 Mon Sep 17 00:00:00 2001 From: catborise Date: Mon, 29 Aug 2022 14:55:00 +0300 Subject: [PATCH] add makemigrations command for missing model scripts --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4f57585..d6b95ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,7 @@ RUN python3 -m venv venv && \ chown -R www-data:www-data /srv/webvirtcloud RUN . venv/bin/activate && \ + python3 manage.py makemigrations && \ python3 manage.py migrate && \ python3 manage.py collectstatic --noinput && \ chown -R www-data:www-data /srv/webvirtcloud