File size: 544 Bytes
12b350f
 
639f2ba
 
 
12b350f
 
 
639f2ba
 
 
12b350f
 
 
 
 
 
639f2ba
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"]