Files
voicebox/scripts
49b55fcb2a fix(docker): chown ~/.cache so the app user can write caches
Docker creates /home/voicebox/.cache (parent of the huggingface-cache
volume mountpoint) owned by root on every container create, and a
fresh named volume is root-owned too. The app runs as the voicebox
user (uid 999), so anything that writes a cache outside the HF mount
(torch hub, spacy, ...) fails with Permission denied.

The entrypoint already runs as root before dropping privileges via
gosu — create/chown the cache dirs there (non-recursive, instant).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-10-04 00:01:41 +00:00
..