Adding migrations to entrypoint
This commit is contained in:
1 parent
167ef3a409
commit
443a128ad7
1 file changed
+1
@@ -2,6 +2,7 @@
|
||||
set -e
|
||||
|
||||
# Idempotent: creates perms/roles/superuser only if missing.
|
||||
uv run alembic upgrade head
|
||||
uv run python -m scripts.seed
|
||||
|
||||
exec uv run uvicorn app.main:app --host 0.0.0.0 --port 8000
|
||||
Reference in new issue
Block a user