File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,9 @@ This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions
4646
4747This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
4848
49- ## Install dependencies
50-
51- ``` bash
52- pip install -r requirements.txt
53- ```
54-
5549## Running Locally
5650
51+ ### With Docker
5752``` bash
5853# Build the Docker image
5954docker build -t deploy-python-fastapi-in-vercel .
@@ -63,8 +58,13 @@ docker run -p 8000:8000 deploy-python-fastapi-in-vercel
6358
6459```
6560
66- or
61+ ### With uvicorn
6762
63+ #### Install dependencies
64+
65+ ``` bash
66+ pip install -r requirements.txt
67+ ```
6868``` bash
6969uvicorn main:app --host 0.0.0.0 --port 8000
7070```
You can’t perform that action at this time.
0 commit comments