Skip to content

Commit 198a1be

Browse files
committed
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.
1 parent ad67b3e commit 198a1be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/say-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Run directly from GitHub using the official `uv` Docker image:
4848
```bash
4949
docker run --rm -it \
5050
-p 3109:3109 \
51-
-v ~/.cache/huggingface:/root/.cache/huggingface \
51+
-v ~/.cache/huggingface-docker-say-server:/root/.cache/huggingface \
5252
ghcr.io/astral-sh/uv:debian \
5353
uv run https://raw.githubusercontent.com/modelcontextprotocol/ext-apps/main/examples/say-server/server.py
5454
```

0 commit comments

Comments
 (0)