add go fiber example
This commit is contained in:
5
go-fiber-simple/nixpacks.toml
Normal file
5
go-fiber-simple/nixpacks.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[phases.build]
|
||||
cmds = ['''GOOS=linux GOARCH=amd64 go build -ldflags='-s' -o=./bin/linux_amd64/api ./cmd/api''']
|
||||
|
||||
[start]
|
||||
cmd = './bin/linux_amd64/api'
|
||||
Reference in New Issue
Block a user