Skip to content

Commit

Permalink
Add .nixpacks.json file for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshs committed Oct 24, 2024
1 parent f5c69b9 commit eb6869d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .nixpacks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"phases": {
"install": {
"cmds": [
"cd server",
"go mod download"
]
},
"build": {
"cmds": [
"cd server",
"go build -o app"
]
},
"start": {
"cmd": "./server/app"
}
}
}

0 comments on commit eb6869d

Please sign in to comment.