diff --git a/frontend/railway.toml b/frontend/railway.toml new file mode 100644 index 0000000..ed6afc0 --- /dev/null +++ b/frontend/railway.toml @@ -0,0 +1,6 @@ +[build] +# Explicitly use the Dockerfile in this directory (Node.js 22). +# Without this, Railway auto-detects and generates a Dockerfile using +# Node.js 18, which is incompatible with the version of Vite used here +# (rolldown-vite requires Node.js 20.19+ or 22.12+). +dockerfilePath = "Dockerfile"