version: '3.8' services: backend: build: context: ./backend # Build context is set to the backend folder ports: - "2000:2000" # Map the container's port to the host's port frontend: build: context: ./frontend ports: - "3000:3000" depends_on: - backend environment: - CHOKIDAR_USEPOLLING=true