services: backend: build: context: ./backend dockerfile: Dockerfile command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload volumes: - ./backend:/app environment: DEBUG: "true" frontend: image: node:20-alpine working_dir: /app command: sh -c "npm install && npm run dev -- --host 0.0.0.0" volumes: - ./frontend:/app - frontend_node_modules:/app/node_modules ports: - "5173:5173" environment: NODE_ENV: development volumes: frontend_node_modules: