-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
53 lines (52 loc) · 1.18 KB
/
vercel.json
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
46
47
48
49
50
51
52
53
{
"version": 2,
"builds": [
{
"src": "public/index.php",
"use": "@vercel/php"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/public/$1"
}
],
"env": {
"DEFAULT_DOMAIN": "${DEFAULT_DOMAIN}",
"IS_HTTPS_ENABLED": "${IS_HTTPS_ENABLED}"
},
"functions": {
"*/*.php": {
"runtime": "@vercel/php@0.3.0"
}
},
"build": {
"env": {
"COMPOSER_HOME": "/app/composer",
"COMPOSER_CACHE_DIR": "/app/composer/cache"
},
"scripts": [
{
"_script" : ["mkdir", "-p", "/var/task/user/data/log"],
"_stage" : ["ready"],
"_optional" : true
},
{
"_script" : ["mkdir", "-p", "/var/task/user/data/cache"],
"_stage" : ["ready"],
"_optional" : true
},
{
"_script" : ["chmod", "-R", "+x", "/var/task/user/data/log"],
"_stage" : ["ready"],
"_optional" : true
},
{
"_script" : ["chmod", "-R", "+x", "/var/task/user/data/cache"],
"_stage" : ["ready"],
"_optional" : true
}
]
}
}