1
0
Files
kobopatch-webui/nixpacks.toml
Nico Verbruggen b0e4638e9e
All checks were successful
Build and test project / build-and-test (push) Successful in 1m30s
Explicitly require nodejs for nixpack config
2026-03-19 21:55:10 +01:00

17 lines
450 B
TOML

providers = ["node"]
[phases.setup]
nixPkgs = ["git", "curl", "zip", "gnutar", "nginx", "nodejs"]
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;'"