diff --git a/frontend/package.json b/frontend/package.json index 2485129..8f78a05 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,13 +4,13 @@ "private": true, "license": "CC-BY-NC-SA-4.0", "scripts": { - "dev": "next dev --turbopack", - "dev:fast": "next dev --turbopack --port 3001 --hostname 0.0.0.0", - "dev:analyze": "ANALYZE=true next dev --turbopack", + "dev": "next dev --turbopack --port ${PORT:-3000}", + "dev:fast": "next dev --turbopack --hostname 0.0.0.0 --port ${PORT:-3000}", + "dev:analyze": "ANALYZE=true next dev --turbopack --port ${PORT:-3000}", "build": "next build", "build:analyze": "ANALYZE=true next build", - "start": "next start", - "start:fast": "next start --port 3001 --hostname 0.0.0.0", + "start": "next start --port ${PORT:-3000}", + "start:fast": "next start --hostname 0.0.0.0 --port ${PORT:-3000}", "lint": "next lint", "type-check": "tsc --noEmit", "performance": "npm run build && npm run start:fast",