We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7a2521 commit 44b5ec7Copy full SHA for 44b5ec7
README.md
@@ -46,14 +46,9 @@ This example shows how to use FastApi 0.88.0 on Vercel with Serverless Functions
46
47
This example uses the Web Server Gateway Interface (WSGI) with Flask to enable handling requests on Vercel with Serverless Functions.
48
49
-## Install dependencies
50
-
51
-```bash
52
-pip install -r requirements.txt
53
-```
54
55
## Running Locally
56
+### With Docker
57
```bash
58
# Build the Docker image
59
docker build -t deploy-python-fastapi-in-vercel .
@@ -63,8 +58,13 @@ docker run -p 8000:8000 deploy-python-fastapi-in-vercel
63
64
```
65
60
66
-or
61
+### With uvicorn
67
62
+#### Install dependencies
+
+```bash
+pip install -r requirements.txt
+```
68
69
uvicorn main:app --host 0.0.0.0 --port 8000
70
0 commit comments