Skip to content

Commit 122ea4e

Browse files
committed
fix: #36 adjust docker-compose paths and network connectivity
1 parent 7242b2c commit 122ea4e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
context: .
55
dockerfile: backend/Dockerfile
66
container_name: vagas-backend
7-
command: ["node", "backend/index.js"]
7+
command: ["node", "backend/src/server.js"]
88
env_file:
99
- ./backend/.env
1010
environment:
@@ -20,10 +20,11 @@ services:
2020
context: .
2121
dockerfile: frontend/Dockerfile
2222
container_name: vagas-frontend
23+
command: npm run dev --workspace=frontend -- --host 0.0.0.0
2324
environment:
2425
- VITE_API_PROXY_TARGET=http://backend:3001
2526
ports:
2627
- "5173:5173"
2728
depends_on:
2829
- backend
29-
restart: unless-stopped
30+
restart: unless-stopped

0 commit comments

Comments
 (0)