mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-11-20 10:57:39 +00:00
chore: added migrations run in Dockerfile
This commit is contained in:
1 parent
78663c09c7
commit
612a55a172
1 file changed
+1
-1
+1
-1
@@ -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}
|
||||
Reference in new issue
Block a user