{"id":"Q1kv_E57EzHXak6VKCTdg","title":"Dockerfile for hs-decide-1-flash transformers CPU server","language":"dockerfile","tags":[],"content":"FROM python:3.12-slim\n\nRUN apt-get update && apt-get install -y --no-install-recommends \\\n    build-essential \\\n && rm -rf /var/lib/apt/lists/*\n\n# CPU-only torch wheel, skips ~2GB of CUDA libs you'll never use\nRUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu\n\nWORKDIR /app\n# pull just the serving/ package out of the model repo and install it\nRUN pip install --no-cache-dir huggingface_hub \\\n && hf download hindsight-ai/hs-decide-1-flash --include \"serving/*\" --local-dir repo \\\n && pip install --no-cache-dir \"./repo/serving[server]\" \\\n && rm -rf repo\n\nENTRYPOINT [\"hindsight-decision-serve-transformers\"]","created_at":"2026-11-12T10:01:24.670Z"}