mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 17:15:19 -07:00
Fix: writable data dir, HF cache on data volume, and install SoX
This commit is contained in:
committed by
capy-ai-staging[bot]
parent
49b55fcb2a
commit
1d8d324051
@@ -18,4 +18,10 @@ done
|
||||
mkdir -p /home/voicebox/.cache/huggingface
|
||||
chown voicebox:voicebox /home/voicebox/.cache /home/voicebox/.cache/huggingface
|
||||
|
||||
# Ensure the mounted data volume is writable by the non-root user.
|
||||
# The Dockerfile chowns /app/data at build time, but a runtime volume mount
|
||||
# re-creates it owned by root, so fix ownership here (still root) before
|
||||
# dropping privileges.
|
||||
chown -R voicebox:voicebox /app/data || true
|
||||
|
||||
exec gosu voicebox "$@"
|
||||
|
||||
Reference in New Issue
Block a user