tts / Dockerfile
chiefkarim's picture
feat: init
31f8017
Raw
History Blame Contribute Delete
372 Bytes
FROM ghcr.io/matatonic/openedai-speech
ENV TTS_HOME=/app/voices
ENV HF_HOME=/app/voices
WORKDIR /app
# Pre-download piper voices used by tts-1 (alloy/echo/onyx/nova/shimmer → libritts_r, fable → northern_english_male)
RUN bash download_voices_tts-1.sh
RUN useradd -m -u 1000 appuser && chown -R appuser /app
USER appuser
CMD ["python", "speech.py", "-P", "7860"]