fix: update nixpacks with npm build step
This commit is contained in:
parent
ae0f8d93ef
commit
025439f452
|
|
@ -1,2 +1,7 @@
|
||||||
|
# Memberitahu Railway untuk menyediakan PHP 8.3 dan NodeJS v20
|
||||||
[phases.setup]
|
[phases.setup]
|
||||||
nixPkgs = ["php83"]
|
nixPkgs = ["php83", "nodejs_20"]
|
||||||
|
|
||||||
|
# Memberitahu Railway untuk menjalankan perintah build frontend
|
||||||
|
[phases.build]
|
||||||
|
cmds = ["npm install", "npm run build"]
|
||||||
Loading…
Reference in New Issue