feat: Add Railway deployment configuration

- 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
This commit is contained in:
Claude 2026-01-28 18:59:50 +00:00
parent 86bce39a2e
commit 1a758f9f8c
No known key found for this signature in database
5 changed files with 736 additions and 19 deletions

9
railway.toml Normal file
View file

@ -0,0 +1,9 @@
[build]
builder = "nixpacks"
[deploy]
startCommand = "npm start"
healthcheckPath = "/"
healthcheckTimeout = 100
restartPolicyType = "on_failure"
restartPolicyMaxRetries = 3