Преглед изворни кода

Set port 3446 for web-evals in production mode (#8288)

Chris Estreich пре 3 месеци
родитељ
комит
25f61943ca
3 измењених фајлова са 3 додато и 3 уклоњено
  1. 1 1
      apps/web-evals/package.json
  2. 1 1
      packages/evals/Dockerfile.web
  3. 1 1
      packages/evals/README.md

+ 1 - 1
apps/web-evals/package.json

@@ -8,7 +8,7 @@
 		"dev": "scripts/check-services.sh && next dev -p 3446",
 		"format": "prettier --write src",
 		"build": "next build",
-		"start": "next start",
+		"start": "next start -p 3446",
 		"clean": "rimraf tsconfig.tsbuildinfo .next .turbo"
 	},
 	"dependencies": {

+ 1 - 1
packages/evals/Dockerfile.web

@@ -60,5 +60,5 @@ RUN chmod +x /usr/local/bin/entrypoint.sh
 
 ENV DATABASE_URL=postgresql://postgres:password@db:5432/evals_development
 ENV REDIS_URL=redis://redis:6379
-EXPOSE 3000
+EXPOSE 3446
 ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]

+ 1 - 1
packages/evals/README.md

@@ -29,7 +29,7 @@ Start the evals service:
 pnpm evals
 ```
 
-The initial build process can take a minute or two. Upon success you should see output indicating that a web service is running on localhost:3000:
+The initial build process can take a minute or two. Upon success you should see output indicating that a web service is running on localhost:3446:
 <img width="1182" src="https://github.com/user-attachments/assets/34f25a59-1362-458c-aafa-25e13cdb2a7a" />
 
 Additionally, you'll find in Docker Desktop that database and redis services are running: