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:
parent
86bce39a2e
commit
1a758f9f8c
5 changed files with 736 additions and 19 deletions
9
railway.toml
Normal file
9
railway.toml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[build]
|
||||
builder = "nixpacks"
|
||||
|
||||
[deploy]
|
||||
startCommand = "npm start"
|
||||
healthcheckPath = "/"
|
||||
healthcheckTimeout = 100
|
||||
restartPolicyType = "on_failure"
|
||||
restartPolicyMaxRetries = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue