fix: preserve port 8502 default in standalone server script

Add PORT environment variable with 8502 fallback to ensure
npm run start defaults to expected port even when run outside
of Docker/supervisord context.
This commit is contained in:
LUIS NOVO 2026-01-14 22:13:06 -03:00
parent 3e03c48f04
commit cd55592b39

View file

@ -5,7 +5,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "node .next/standalone/server.js",
"start": "PORT=${PORT:-8502} node .next/standalone/server.js",
"lint": "next lint"
},
"dependencies": {