fix(say-server): use isolated HuggingFace cache for Docker

Avoid sharing host's HF cache with Docker container since
downloaded models may contain unsafe pickled files or code.
This commit is contained in:
Olivier Chafik 2026-01-20 10:46:21 +00:00
commit 198a1be034
No known key found for this signature in database

View file

@ -48,7 +48,7 @@ Run directly from GitHub using the official `uv` Docker image:
```bash
docker run --rm -it \
-p 3109:3109 \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v ~/.cache/huggingface-docker-say-server:/root/.cache/huggingface \
ghcr.io/astral-sh/uv:debian \
uv run https://raw.githubusercontent.com/modelcontextprotocol/ext-apps/main/examples/say-server/server.py
```