# diora's built-in Whisper (docs/transcription.md). Built on the server next to diora-prod: # docker compose build whisper FROM python:3.12-slim RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir faster-whisper==1.2.1 fastapi==0.143.1 uvicorn==0.54.0 python-multipart==0.0.32 WORKDIR /app COPY server.py . ENV WHISPER_CACHE=/models HF_HOME=/models/hf EXPOSE 8000 CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000"]