FROM python:3.10-slim WORKDIR /app COPY . /app # system dependencies RUN apt-get update && apt-get install -y \ git \ ffmpeg \ libsndfile1 \ && rm -rf /var/lib/apt/lists/* # upgrade pip RUN pip install --upgrade pip # install python packages directly in docker RUN pip install \ gradio \ edge-tts EXPOSE 7860 CMD ["python", "app.py"]