Create nixpacks.json
This commit is contained in:
parent
6f12859c71
commit
9f50719bef
1 changed files with 16 additions and 0 deletions
16
nixpacks.json
Normal file
16
nixpacks.json
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"phases": {
|
||||||
|
"setup": {
|
||||||
|
"nixPkgs": ["nodejs", "npm"]
|
||||||
|
},
|
||||||
|
"install": {
|
||||||
|
"cmds": ["npm ci"]
|
||||||
|
},
|
||||||
|
"build": {
|
||||||
|
"cmds": ["npm run build"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"start": {
|
||||||
|
"cmd": "npm run preview -- --host 0.0.0.0 --port $PORT"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue