Vercel 正式支持 FastAPI 与 Flask 自定义构建命令

来源: Vercel News

原文

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.

Learn more about the Build Command for Python projects.

Read more