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:
parent
ad67b3e4bb
commit
198a1be034
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ Run directly from GitHub using the official `uv` Docker image:
|
||||||
```bash
|
```bash
|
||||||
docker run --rm -it \
|
docker run --rm -it \
|
||||||
-p 3109:3109 \
|
-p 3109:3109 \
|
||||||
-v ~/.cache/huggingface:/root/.cache/huggingface \
|
-v ~/.cache/huggingface-docker-say-server:/root/.cache/huggingface \
|
||||||
ghcr.io/astral-sh/uv:debian \
|
ghcr.io/astral-sh/uv:debian \
|
||||||
uv run https://raw.githubusercontent.com/modelcontextprotocol/ext-apps/main/examples/say-server/server.py
|
uv run https://raw.githubusercontent.com/modelcontextprotocol/ext-apps/main/examples/say-server/server.py
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue