Skip to content

Commit

Permalink
fix entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
djeck1432 committed Oct 28, 2024
1 parent 57d9d2a commit bc0aca7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit bc0aca7

Please sign in to comment.