FROM python:3.10-slim WORKDIR /app # 🔹 REQUIRED for Whisper (audio decoding) RUN apt-get update && \ apt-get install -y ffmpeg && \ rm -rf /var/lib/apt/lists/* # install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # copy the rest of your code COPY . . # run your FastAPI app CMD ["uvicorn", "app:APP", "--host", "0.0.0.0", "--port", "7860"]