version: '3.8' services: backend: build: ./backend ports: - "8002:8000" volumes: - ./backend:/app frontend: build: ./frontend ports: - "5173:5173" volumes: - ./frontend:/app - /app/frontend/node_modules # prevent host node_modules from overwriting container