services: backend: build: context: . dockerfile: Dockerfile ports: - "8000:8000" volumes: - ./models:/models:ro - ./example_dataset:/app/example_dataset:ro environment: - HOST=0.0.0.0 - PORT=8000 frontend: image: node:22-bookworm working_dir: /app/frontend volumes: - ./frontend:/app/frontend - /app/frontend/node_modules ports: - "3000:3000" command: npm run dev depends_on: - backend environment: - NEXT_PUBLIC_API_URL=http://localhost:8000