From 612a55a17262542aade4a313b524cb2e3560b7e0 Mon Sep 17 00:00:00 2001 From: ITQ Date: Sun, 19 Jan 2025 20:15:18 +0300 Subject: [PATCH] chore: added migrations run in Dockerfile --- solution/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution/Dockerfile b/solution/Dockerfile index 51ebf13..300b252 100644 --- a/solution/Dockerfile +++ b/solution/Dockerfile @@ -59,4 +59,4 @@ ENV DJANGO_DEBUG=False \ DJANGO_NOTIFIER_TELEGRAM_CHAT_ID=-1002304409222 # Start gunicorn -CMD gunicorn config.wsgi -b ${SERVER_ADDRESS} +CMD python manage.py migrate && gunicorn config.wsgi -b ${SERVER_ADDRESS}