fix(frontend): set preview port to 3000 to match traefik loadbalancer

Vite preview defaults to port 4173 but traefik routes to port 3000.
Added --port 3000 to the preview script in package.json.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MythEclipse
2026-06-01 23:11:47 +07:00
co-authored by Claude Opus 4.6
parent 58afa98132
commit 0f6cdff8ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ RUN pnpm --filter './services/frontend' run build
EXPOSE 3000
# Start frontend (production preview)
CMD ["pnpm", "--filter", "./services/frontend", "run", "preview", "--", "--host", "0.0.0.0"]
CMD ["pnpm", "--filter", "./services/frontend", "run", "preview"]
+1 -1
View File
@@ -6,7 +6,7 @@
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "tsc --noEmit && vite build",
"preview": "vite preview --host 0.0.0.0",
"preview": "vite preview --host 0.0.0.0 --port 3000",
"typecheck": "tsc --noEmit",
"lint": "biome check --diagnostic-level=error src/",
"format": "biome format --write src/"