version: '3.10' services: app: build: . ports: - "7860:7860" volumes: - huggingface_cache:/root/.cache/huggingface environment: - MODEL_PATH=RufusRubin777/GOT-OCR2_0_CPU restart: unless-stopped deploy: resources: limits: memory: 4G reservations: memory: 2G volumes: huggingface_cache: