version: '3.8' | |
services: | |
frontend: | |
build: | |
context: . | |
dockerfile: Dockerfile.frontend | |
working_dir: /app/frontend | |
ports: | |
- "5173:5173" | |
env_file: | |
- frontend/.env | |
volumes: | |
- .:/app | |
backend: | |
build: | |
context: . | |
dockerfile: Dockerfile.backend | |
working_dir: /app/backend | |
ports: | |
- "3000:3000" | |
env_file: | |
- backend/.env | |
volumes: | |
- .:/app |