fix: add composer to nixpacks config

This commit is contained in:
zhadaarsita 2025-09-20 11:17:00 +07:00
parent 46a7c28d20
commit d1789baffb
1 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
# Memberitahu Railway untuk menyediakan PHP 8.3 dan NodeJS v20
[phases.setup]
nixPkgs = ["php83", "nodejs_20"]
nixPkgs = ["php83", "nodejs_20", "composer"]
# Memberitahu Railway untuk menjalankan perintah build frontend
[phases.build]
cmds = ["npm install", "npm run build"]