dantts / Dockerfile_with_model
imseldrith's picture
Upload 6 files
43a8e28 verified
raw
history blame
336 Bytes
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"]