dantts / Dockerfile
imseldrith's picture
Update Dockerfile
c05c48e verified
raw
history blame
359 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 chmod -R 755 /root
RUN python install_bark.py
CMD ["python", "main.py"]