speechToText / Dockerfile
SujanMidatani's picture
create Dockerfile
3297ad3
raw
history blame
414 Bytes
FROM huggingface/transformers-pytorch-cpu
# Install system-level dependencies
RUN apt-get update && apt-get install -y \
libasound2-dev \
portaudio19-dev \
libportaudio2 \
libportaudiocpp0 \
ffmpeg
# Copy your app code to the container
COPY . /app
WORKDIR /app
# Install Python dependencies
RUN pip install -r requirements.txt
# Specify the command to run your app
CMD ["python", "app.py"]