From e463a038c9a7decf0c481548c8c479bc18d66fb3 Mon Sep 17 00:00:00 2001 From: Kunthawat Greethong Date: Tue, 10 Mar 2026 13:09:36 +0700 Subject: [PATCH] fix: Add nixpacks.toml to explicitly set Node.js 20 Ensures Easypanel uses Node.js 20 for building, preventing version mismatch with Astro 5.x requirements --- nixpacks.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nixpacks.toml diff --git a/nixpacks.toml b/nixpacks.toml new file mode 100644 index 0000000..a952851 --- /dev/null +++ b/nixpacks.toml @@ -0,0 +1,8 @@ +[phases.build] +cmds = ["npm run build"] + +[phases.start] +cmds = ["npm run start"] + +[variables] +NODE_VERSION = "20"