diff --git a/server/nixpacks.toml b/server/nixpacks.toml new file mode 100644 index 0000000..572b40c --- /dev/null +++ b/server/nixpacks.toml @@ -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" \ No newline at end of file