Skip to content

Commit 44b5ec7

Browse files
committed
docs: update README.md
1 parent f7a2521 commit 44b5ec7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,9 @@ This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions
4646

4747
This 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
5954
docker 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
6969
uvicorn main:app --host 0.0.0.0 --port 8000
7070
```

0 commit comments

Comments
 (0)