chore: add nixpacks config

This commit is contained in:
Julien Calixte
2026-03-14 17:22:05 +01:00
parent fef0ac8abf
commit 2e9487d61f
2 changed files with 10 additions and 2 deletions

View File

@@ -1,9 +1,9 @@
[build]
publish = "dist"
command = "npm run build"
command = "pnpm run build"
[build.environment]
NODE_VERSION = "16"
NODE_VERSION = "22"
[[headers]]
for = "/.well-known/*"

8
nixpacks.toml Normal file
View File

@@ -0,0 +1,8 @@
[phases.setup]
nixPkgs = ['nodejs_22', 'pnpm']
[phases.install]
cmds = ['pnpm install']
[phases.build]
cmds = ['pnpm run build']