Fix: Mapping Vite ports based on .env value

This commit is contained in:
2026-08-26 17:59:13 +03:00
parent 092fab8740
commit 50c9670f2a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -137,10 +137,10 @@ services:
working_dir: /app
command: npm run dev
ports:
- "${VITE_PORT:-5173}:5173"
- "${VITE_PORT:-5174}:${VITE_PORT:-5174}"
environment:
- NODE_ENV=development
- VITE_PORT=${VITE_PORT:-5173}
- VITE_PORT=${VITE_PORT:-5174}
volumes:
- .:/app
- /app/node_modules