Switch hf_cache from Docker volume to host bind mount
All checks were successful
Build and Push Docker Image / build (push) Successful in 19s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-08 19:14:44 -04:00
parent f2513c12a9
commit 8272b6a8c9
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@@ -169,3 +169,6 @@ cython_debug/
# PyPI configuration file
.pypirc
# HuggingFace model cache (host-mounted Docker volume)
hf_cache/

View File

@@ -17,7 +17,7 @@ services:
volumes:
# Persist HuggingFace model/voice cache so downloads survive container restarts
- hf_cache:/root/.cache/huggingface
- ./hf_cache:/root/.cache/huggingface
# Mount config so voices/settings can be changed without rebuilding
- ./config.yaml:/app/config.yaml:ro
@@ -42,5 +42,3 @@ services:
retries: 3
start_period: 60s
volumes:
hf_cache: