Hiii guys, I am trying to deploy a `FastAPI` appli...
# general
i
Hiii guys, I am trying to deploy a
FastAPI
application packed into a pex executable. It uses
SQLAlchemy
+
Alembic
. In my native dev environment, I'd use alembic to make migration files and apply the migration before starting the app. But since the pex only has one entrypoint which is the main function of the fastapi app, I'm not so sure how to ensure migrations are applied before the app starts up in production.. any ideas?
1