From 58d2dea0e09f66861f6a12ac18fe59db711d43b8 Mon Sep 17 00:00:00 2001 From: Railway Agent Date: Fri, 25 Sep 2026 05:47:46 +0000 Subject: [PATCH] Fix: Include dist folder in build output Add railpack.toml to ensure the compiled `dist/` folder is included in the Docker image during deployment. The build was succeeding locally but the output wasn't making it into the final image, causing the app to crash with "Cannot find module '/app/dist/index.js'" at runtime. --- railpack.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 railpack.toml diff --git a/railpack.toml b/railpack.toml new file mode 100644 index 00000000..6eff21a2 --- /dev/null +++ b/railpack.toml @@ -0,0 +1,4 @@ +[build] +command = "npm run build" +outputs = ["dist"] +