whisper-api / Dockerfile
mkozak's picture
add ffmpeg
999b384 unverified
raw
history blame
300 Bytes
FROM python:3.10
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN apt-get --update \
&& apt install ffmpeg --no-install-recommends
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]