web-research-agent / Dockerfile
BonusLockSMith's picture
Upload folder using huggingface_hub
3e0f245 verified
Raw History Blame Contribute Delete
491 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# HF Spaces serves on 7860. Cloud demo narrates via Claude (can't reach the local fleet); the
# ANTHROPIC_API_KEY is a Space secret. RESEARCH_SAVE stays off in the cloud (the vault is LAN-only).
ENV PORT=7860 \
RESEARCH_LLM_BACKEND=claude \
ANTHROPIC_MODEL=claude-haiku-4-5 \
RESEARCH_SAVE=0 \
PYTHONUNBUFFERED=1
EXPOSE 7860
CMD ["python", "app.py"]