diff --git a/alembic.ini b/alembic.ini index ca7ed18..672902a 100644 --- a/alembic.ini +++ b/alembic.ini @@ -2,7 +2,7 @@ [alembic] # path to migration scripts -script_location = app/alembic +script_location = /app/app/alembic # template used to generate migration file # file_template = %%(rev)s_%%(slug)s diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 84ae841..37f0037 100644 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,6 +5,7 @@ echo "Setting up screenshots directory..." mkdir -p screenshots echo "Running database migrations..." +ls -la /app/app alembic upgrade head echo "Starting application..."