diy-creator / Dockerfile
BonusLockSMith's picture
#17 DIY Creator — multi-agent research/write/critique team
a5c7816 verified
Raw History Blame Contribute Delete
591 Bytes
# DIY Creator (#17) — Hugging Face Spaces (docker SDK). Cloud demo runs the Claude backend;
# set an ANTHROPIC_API_KEY secret on the Space. To run locally against Ollama instead, ignore this
# file and just `python app.py` (defaults to http://127.0.0.1:11434).
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV PORT=7860
# Cloud demo backend. Locally, leave DIY_LLM_BACKEND unset to use Ollama.
ENV DIY_LLM_BACKEND=claude
ENV ANTHROPIC_MODEL=claude-haiku-4-5
EXPOSE 7860
CMD ["python", "app.py"]