File size: 336 Bytes
43a8e28
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
FROM continuumio/miniconda3
RUN apt update && apt install espeak-ng ffmpeg -y
WORKDIR /root
ADD ./requirements.txt .
RUN pip install -r requirements.txt
ADD ./src .
RUN python -m nltk.downloader punkt
RUN echo 'from bark import preload_models \n\
preload_models()' >> install_bark.py
RUN python install_bark.py
CMD ["python", "main.py"]