bark/Dockerfile

16 lines
375 B
Docker
Raw Normal View History

2023-04-25 04:00:44 +00:00
FROM python:3.8.13
WORKDIR /app
COPY . /app
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN pip install git+https://ghproxy.com/https://github.com/suno-ai/bark.git
RUN pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118
RUN pip install -r requirements.txt
CMD ["python", "app.py"]