first commit: TTS Book Service with MiMo TTS integration

This commit is contained in:
TTS Service
2026-03-27 13:41:07 +08:00
commit 270aba89a0
10 changed files with 1132 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM python:3.11-alpine
# 安装 ffmpegalpine 版很小)
RUN apk add --no-cache ffmpeg
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ .
RUN mkdir -p /app/data /app/audio
EXPOSE 17200
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "17200"]