chore: added migrations run in Dockerfile

This commit is contained in:
ITQ
2025-01-19 20:15:18 +03:00
parent 78663c09c7
commit 612a55a172
+1 -1
View File
@@ -59,4 +59,4 @@ ENV DJANGO_DEBUG=False \
DJANGO_NOTIFIER_TELEGRAM_CHAT_ID=-1002304409222 DJANGO_NOTIFIER_TELEGRAM_CHAT_ID=-1002304409222
# Start gunicorn # Start gunicorn
CMD gunicorn config.wsgi -b ${SERVER_ADDRESS} CMD python manage.py migrate && gunicorn config.wsgi -b ${SERVER_ADDRESS}