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:
parent
3e03c48f04
commit
cd55592b39
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "node .next/standalone/server.js",
|
"start": "PORT=${PORT:-8502} node .next/standalone/server.js",
|
||||||
"lint": "next lint"
|
"lint": "next lint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue