FROM nvidia/cuda:11.7.1-cudnn8-runtime-ubuntu20.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
# Install necessary dependencies | |
RUN apt-get update && apt install -y python3-pip ffmpeg | |
# Set the working directory | |
WORKDIR /app | |
# Copy the app code and requirements filed | |
COPY stt.py /app | |
# Install the app dependencies | |
#RUN pip3 install --no-cache-dir -r requirements.txt | |
run pip3 install faster-whisper==0.6.0 flask==2.3.2 | |