version: "3.8" services: # ── Combined: backend + frontend in one container ────────── app: build: context: . dockerfile: Dockerfile ports: - "7860:7860" volumes: - ./datasets:/app/datasets - ./checkpoints:/app/checkpoints environment: - DATA_DIR=/app/datasets - CHECKPOINT_DIR=/app/checkpoints - CORS_ORIGINS=* - HOST=0.0.0.0 - PORT=7860 - STATIC_DIR=/app/static