- Add serve as production server for static files - Add start script for production deployment - Create railway.toml with deployment settings - Create .env.example for required environment variables - Fix index.html to use Vite bundling instead of ESM imports https://claude.ai/code/session_01DBAyjuKW8Qtzixc64qn9KP
9 lines
174 B
TOML
9 lines
174 B
TOML
[build]
|
|
builder = "nixpacks"
|
|
|
|
[deploy]
|
|
startCommand = "npm start"
|
|
healthcheckPath = "/"
|
|
healthcheckTimeout = 100
|
|
restartPolicyType = "on_failure"
|
|
restartPolicyMaxRetries = 3
|