The open-source AI voice studio. Clone, dictate, create.
fix: Dockerfile HuggingFace cache and generations directory permissions
virtuallyunknownb39e5b2de32f
diff --git a/Dockerfile b/Dockerfileindex e1340a2f..f31802dc 100644--- a/Dockerfile+++ b/Dockerfile@@ -74,6 +74,14 @@ FROM python:3.11-slimRUN groupadd -r voicebox && \useradd -r -g voicebox -m -s /bin/bash voicebox+# Create HuggingFace cache directory for the named volume+RUN mkdir -p /home/voicebox/.cache/huggingface \+ && chown -R voicebox:voicebox /home/voicebox/.cache/huggingface++# Create voice generations directory for the named volume+RUN mkdir -p /app/data/generations \+ && chown -R voicebox:voicebox /app/data/generations+WORKDIR /app# Install only runtime system dependencies (gosu drops root in the entrypoint)