Skip to content

Commit

Permalink
Run flack upgrade when starting the messagingservice
Browse files Browse the repository at this point in the history
  • Loading branch information
pbugni committed Jan 8, 2025
1 parent eb4e448 commit 4059664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ENV FLASK_APP=isacc_messaging.app:create_app() \

EXPOSE "${PORT}"

CMD gunicorn --bind "0.0.0.0:${PORT:-8000}" ${FLASK_APP}
CMD flask upgrade && gunicorn --bind "0.0.0.0:${PORT:-8000}" ${FLASK_APP}

0 comments on commit 4059664

Please sign in to comment.