FROM python:3.10 WORKDIR /app # Accept XTTS license ENV COQUI_TOS_AGREED=1 COPY requirements.txt . RUN apt-get update && apt-get install -y ffmpeg RUN pip install --upgrade pip RUN pip install --no-cache-dir -r requirements.txt COPY . . CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]