diff --git a/entrypoint.sh b/entrypoint.sh index 9c2daf36..ff7ee9d2 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,8 @@ #!/bin/bash +echo "Activate virtual environment" +source $(poetry env info --path)/bin/activate + echo "Run migration with alembic" poetry run alembic -c web_app/alembic.ini upgrade head