FROM python:3.10-slim WORKDIR /app # Copy requirements and install (no build-essential or espeak needed) COPY requirements.txt . RUN pip install --no-cache-dir --upgrade pip && \ pip install --no-cache-dir -r requirements.txt # Copy application files COPY app.py . COPY templates ./templates EXPOSE 7860 CMD ["python", "app.py"]