1
0
Files
kobopatch-webui/nixpacks.toml
Nico Verbruggen 578e31e213
All checks were successful
Build and test project / build-and-test (push) Successful in 1m29s
Put configuration in nixpacks.toml
2026-03-19 21:07:08 +01:00

17 lines
440 B
TOML

providers = ["node"]
[phases.setup]
nixPkgs = ["git", "curl", "zip", "gnutar", "nginx"]
paths = ["/usr/local/go/bin"]
[phases.build]
cmds = [
"cd kobopatch-wasm && bash setup.sh",
"cd kobopatch-wasm && bash build.sh",
"cd nickelmenu && bash setup.sh",
"cd web && npm install && npm run build",
]
[start]
cmd = "envsubst '${PORT}' < nginx.conf.template > /tmp/nginx.conf && exec nginx -c /tmp/nginx.conf -g 'daemon off;'"