Add XTTS primary voice with Piper fallback
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -y curl ffmpeg \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& useradd --system --uid 10005 --home-dir /nonexistent --shell /usr/sbin/nologin tts
|
||||
|
||||
COPY tts_gateway.py /app/tts_gateway.py
|
||||
|
||||
USER 10005:10005
|
||||
EXPOSE 8085
|
||||
|
||||
HEALTHCHECK --interval=10s --timeout=5s --retries=12 \
|
||||
CMD curl -fsS http://127.0.0.1:8085/status || exit 1
|
||||
|
||||
ENTRYPOINT ["python", "/app/tts_gateway.py"]
|
||||
Reference in New Issue
Block a user