-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
45 lines (45 loc) · 818 Bytes
/
Copy pathvercel.json
File metadata and controls
45 lines (45 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"version": 2,
"buildCommand": "cd apps/web && npm run build",
"outputDirectory": "apps/web/.next",
"installCommand": "cd apps/web && npm install",
"framework": "nextjs",
"builds": [
{
"src": "apps/web/package.json",
"use": "@vercel/next"
},
{
"src": "apps/api/index.py",
"use": "@vercel/python"
}
],
"routes": [
{
"src": "/api/v1/(.*)",
"dest": "apps/api/index.py"
},
{
"src": "/health",
"dest": "apps/api/index.py"
},
{
"src": "/docs",
"dest": "apps/api/index.py"
},
{
"src": "/openapi.json",
"dest": "apps/api/index.py"
},
{
"handle": "filesystem"
},
{
"src": "/(.*)",
"dest": "apps/web/$1"
}
],
"env": {
"PYTHON_VERSION": "3.11"
}
}