Update Railway deployment settings

This commit is contained in:
Alexa Amundson
2025-11-21 16:20:21 -06:00
parent 0a387e554f
commit 29f949a2a8
2 changed files with 2 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"build": "next build", "build": "next build",
"start": "next start -p ${PORT:-3000}", "start": "next start -H 0.0.0.0 -p ${PORT:-8080}",
"lint": "next lint" "lint": "next lint"
}, },
"engines": { "engines": {

View File

@@ -5,19 +5,10 @@
"buildCommand": "npm install && npm run build" "buildCommand": "npm install && npm run build"
}, },
"deploy": { "deploy": {
"startCommand": "npm start", "startCommand": "npm run start",
"healthcheckPath": "/api/health", "healthcheckPath": "/api/health",
"healthcheckTimeout": 100, "healthcheckTimeout": 100,
"restartPolicyType": "ON_FAILURE", "restartPolicyType": "ON_FAILURE",
"restartPolicyMaxRetries": 3 "restartPolicyMaxRetries": 3
"$schema": "https://railway.app/railway.schema.json",
"build": {
"builder": "NIXPACKS",
"buildCommand": "npm install && npm run build",
"startCommand": "npm run start"
},
"deploy": {
"healthcheckPath": "/api/health",
"restartPolicyType": "ON_FAILURE"
} }
} }