nx serve app --hostname 0.0.0.0 --port 5438 --prod
{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "yarn build app --prod" }, "deploy": { "numReplicas": 1, "startCommand": "yarn start app --host 0.0.0.0 --port ${PORT-3001} --prod", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }}
yarn run v1.22.19$ nx serve app --host 0.0.0.0 --port 5438 --prod> nx run app:serve:production --host 0.0.0.0 --port 5438info - Loaded env from /app/packages/app/.env.local[ ready ] on http://localhost:5438
{ "$schema": "https://railway.app/railway.schema.json", "build": { "builder": "NIXPACKS", "buildCommand": "yarn build app --prod" }, "deploy": { "numReplicas": 1, "startCommand": "yarn start app --prod --port ${PORT-3001} --host=0.0.0.0", "restartPolicyType": "ON_FAILURE", "restartPolicyMaxRetries": 10 }}