Vercel now supports Build Commands for FastAPI and Flask
By Steven Van ·
FastAPI and Flask projects on Vercel can now run a custom build step via a pyproject.toml script or the dashboard.
FastAPI and Flask apps on Vercel can now use a custom Build Command. It can be set in the project's Settings dashboard, or defined as a script under [tool.vercel.scripts] in pyproject.toml, for example build = "python build.py". The script runs after dependencies are installed but before the application deploys. A Build Command set in vercel.json or the Settings dashboard takes precedence over one defined in pyproject.toml. See the full documentation for details.
Vercel
The platform for frontend developers — deploy, preview, and scale web apps and AI agents with zero config.
View Vercel →