|
|
|
FROM nvidia/cuda:11.8.0-devel-ubuntu22.04 AS env_base |
|
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \ |
|
git vim nano build-essential python3-dev python3-venv python3-pip gcc g++ ffmpeg |
|
|
|
|
|
RUN pip3 install virtualenv |
|
RUN virtualenv /venv |
|
ENV VIRTUAL_ENV=/venv |
|
RUN python3 -m venv $VIRTUAL_ENV |
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH" |
|
RUN pip3 install --upgrade pip setuptools && \ |
|
pip3 install torch torchvision torchaudio |
|
|
|
|
|
WORKDIR /app |
|
|
|
|
|
RUN git clone https://github.com/rsxdalv/tts-generation-webui.git |
|
|
|
|
|
WORKDIR /app/tts-generation-webui |
|
|
|
|
|
RUN pip3 install -r requirements.txt |
|
RUN pip3 install -r requirements_audiocraft.txt |
|
RUN pip3 install -r requirements_bark_hubert_quantizer.txt |
|
RUN pip3 install -r requirements_rvc.txt |
|
|
|
|
|
CMD python server.py |
|
|