FROM python:3.10-slim RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/* RUN pip install torch torchaudio --index-url https://download.pytorch.org/whl/cpu RUN git clone https://github.com/SesameAILabs/csm.git /app/csm RUN pip install -r /app/csm/requirements.txt WORKDIR /app COPY . . RUN pip install -r requirements.txt CMD ["python", "app.py"]