Skip to content

Commit eb6869d

Browse files
committed
Add .nixpacks.json file for deployment
1 parent f5c69b9 commit eb6869d

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.nixpacks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"phases": {
3+
"install": {
4+
"cmds": [
5+
"cd server",
6+
"go mod download"
7+
]
8+
},
9+
"build": {
10+
"cmds": [
11+
"cd server",
12+
"go build -o app"
13+
]
14+
},
15+
"start": {
16+
"cmd": "./server/app"
17+
}
18+
}
19+
}
20+

0 commit comments

Comments
 (0)