chore: add nixpacks config
This commit is contained in:
@@ -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
8
nixpacks.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[phases.setup]
|
||||
nixPkgs = ['nodejs_22', 'pnpm']
|
||||
|
||||
[phases.install]
|
||||
cmds = ['pnpm install']
|
||||
|
||||
[phases.build]
|
||||
cmds = ['pnpm run build']
|
||||
Reference in New Issue
Block a user