Spaces:
Running
Running
Download Dockerfile from BonusLockSMith/memory-chatbot: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/spaces/BonusLockSMith/memory-chatbot/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BonusLockSMith/memory-chatbot/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BonusLockSMith/memory-chatbot/resolve/main/Dockerfile
455 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| # Cloud demo narrates via Claude (can't reach a local fleet); ANTHROPIC_API_KEY is a Space secret. | |
| # NOTE: memory.db lives in the container FS — persists within a run, resets on rebuild (fine for a demo). | |
| ENV PORT=7860 MEMBOT_LLM_BACKEND=claude ANTHROPIC_MODEL=claude-haiku-4-5 PYTHONUNBUFFERED=1 | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |