Severian commited on
Commit
fdb0511
·
verified ·
1 Parent(s): 1f76095

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +1 -1
entrypoint.sh CHANGED
@@ -4,7 +4,7 @@ set -e
4
 
5
  if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
6
  echo "Running migrations"
7
- flask upgrade-db
8
  fi
9
 
10
  if [[ "${MODE}" == "worker" ]]; then
 
4
 
5
  if [[ "${MIGRATION_ENABLED}" == "true" ]]; then
6
  echo "Running migrations"
7
+ cd /app/api && PYTHONPATH=/app/api flask db upgrade
8
  fi
9
 
10
  if [[ "${MODE}" == "worker" ]]; then