# Base image FROM python:3.10-slim # Install dependencies RUN apt-get update && apt-get install -y ffmpeg git && \ apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y espeak-ng # Install Python dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy app COPY . /app WORKDIR /app # Run FastAPI app CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]