You can now can easily deploy FastAPI and Flask with custom Build Commands, expanding support for Python projects on Vercel.
In addition to defining a Build Command in the project Settings dashboard, you can also define a build script in[tool.vercel.scripts]inside your pyproject.toml.
This script will run after dependencies are installed, but before your application is deployed.
pyproject.toml
[tool.vercel.scripts]
build = "python build.py"
Learn more about the Build Command for Python projects.
0 Comments
Log in to join the conversation.No comments yet. Be the first to share your thoughts.