services: backend: build: . ports: - "5000:5000" volumes: - ./:/app frontend: image: node:22-alpine working_dir: /app volumes: - ./frontend:/app ports: - "5173:5173" command: sh -c "npm install && npm run dev -- --host" depends_on: - backend