personabot-tts / Dockerfile
GitHub Actions
Deploy 99571e7
616f316
raw
history blame contribute delete
481 Bytes
FROM python:3.11-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install -y --no-install-recommends \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --no-cache-dir \
fastapi>=0.115.0 \
uvicorn[standard]>=0.29.0 \
numpy>=1.26.0 \
soundfile>=0.12.1 \
kokoro>=0.9.4
COPY app.py .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]