mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-08-06 09:16:26 +08:00
add nixpacks
This commit is contained in:
12
.nixpacks.toml
Normal file
12
.nixpacks.toml
Normal file
@@ -0,0 +1,12 @@
|
||||
[phases.setup]
|
||||
nixPkgs = ["nodejs_22", "corepack"]
|
||||
|
||||
[phases.install]
|
||||
cmds = ["corepack enable", "yarn install --check-cache"]
|
||||
|
||||
[phases.build]
|
||||
cmds = ["yarn build"]
|
||||
|
||||
[start]
|
||||
cmd = "node .output/server/index.mjs"
|
||||
|
||||
Reference in New Issue
Block a user