Skip to content

Commit

Permalink
setup nixpacks
Browse files Browse the repository at this point in the history
  • Loading branch information
natserract committed Nov 11, 2024
1 parent 2797ff6 commit 0417536
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions server/nixpacks.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[phases.setup]
nixPkgs = ["go"]

[phases.install]
cmds = ["go mod tidy"]

[phases.build]
cmds = ["go build -o ./tmp/app/main ./cmd/app/main.go"]

[start]
cmd = "./tmp/app/main"

0 comments on commit 0417536

Please sign in to comment.