Switch hf_cache from Docker volume to host bind mount
All checks were successful
Build and Push Docker Image / build (push) Successful in 19s
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:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -169,3 +169,6 @@ cython_debug/
|
|||||||
|
|
||||||
# PyPI configuration file
|
# PyPI configuration file
|
||||||
.pypirc
|
.pypirc
|
||||||
|
|
||||||
|
# HuggingFace model cache (host-mounted Docker volume)
|
||||||
|
hf_cache/
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
# Persist HuggingFace model/voice cache so downloads survive container restarts
|
# 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
|
# Mount config so voices/settings can be changed without rebuilding
|
||||||
- ./config.yaml:/app/config.yaml:ro
|
- ./config.yaml:/app/config.yaml:ro
|
||||||
|
|
||||||
@@ -42,5 +42,3 @@ services:
|
|||||||
retries: 3
|
retries: 3
|
||||||
start_period: 60s
|
start_period: 60s
|
||||||
|
|
||||||
volumes:
|
|
||||||
hf_cache:
|
|
||||||
|
|||||||
Reference in New Issue
Block a user