{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "pnpm install && pnpm run build" }, "deploy": { "startCommand": "pnpm preview --host 0.0.0.0 --port $PORT", "healthcheckPath": "/", "healthcheckTimeout": 100, "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }, "environments": { "production": { "variables": { "NODE_ENV": "production", "PORT": "${{RAILWAY_PUBLIC_PORT}}" } } } }