FROM python:3.10-slim # System dependencies RUN apt-get update && apt-get install -y \ ffmpeg \ libsndfile1 \ && rm -rf /var/lib/apt/lists/* # Python dependencies RUN pip install --upgrade pip RUN pip install \ gradio \ librosa==0.10.1 \ soundfile \ numpy \ scipy \ audioread # Copy app files COPY . /app WORKDIR /app CMD ["python", "app.py"]