You've already forked Promocode-API
mirror of
https://github.com/devitq/Promocode-API.git
synced 2026-05-22 20:57:11 +00:00
chore: added migrations run in Dockerfile
This commit is contained in:
+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