Skip to content

Commit 28c9f47

Browse files
author
Neil Munoz
committed
Update vercel.json for better Vercel deployment compatibility
- Add explicit runtime python3.11 specification - Add buildCommand, devCommand, and installCommand for clear build process - Improve Vercel configuration for FastAPI deployment - Prepare for Vercel Dashboard Node.js 20.x configuration
1 parent a41df63 commit 28c9f47

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

vercel.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"functions": {
44
"api/index.py": {
55
"maxDuration": 30,
6-
"memory": 1024
6+
"memory": 1024,
7+
"runtime": "python3.11"
78
}
89
},
910
"routes": [
@@ -17,5 +18,8 @@
1718
},
1819
"regions": [
1920
"iad1"
20-
]
21+
],
22+
"buildCommand": null,
23+
"devCommand": null,
24+
"installCommand": "pip install -r api/requirements.txt"
2125
}

0 commit comments

Comments
 (0)