Skip to content

Commit

Permalink
Add migrate to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaniog committed Aug 24, 2024
1 parent 9feb93f commit 94ba89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/backend/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash

gunicorn -w 4 'queue_app:create_app()' -b 0.0.0.0
python manage.py db upgrade
gunicorn -w 4 'queue_app:create_app()' -b 0.0.0.0

0 comments on commit 94ba89a

Please sign in to comment.