FROM python:3.9 # Install FFmpeg and other necessary system dependencies RUN apt-get update && apt-get install -y ffmpeg libportaudio2 libportaudiocpp0 portaudio19-dev WORKDIR /code # If you need Git configurations, set them for the repository instead of globally RUN git config --local user.email "svabald@users.noreply.huggingface.co" RUN git config --local user.name "Sergey Agapov" COPY ./requirements.txt /code/requirements.txt RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt COPY . /code CMD ["python", "app.py"]