Socrates_docker / Dockerfile
alesamodio's picture
Add STT endpoint (no binaries)
403e6d8
raw
history blame contribute delete
401 Bytes
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"]