2022-11-14 23:11:32 +00:00
|
|
|
ARG BASE=nvidia/cuda:11.8.0-base-ubuntu22.04
|
2022-05-12 17:33:27 +00:00
|
|
|
FROM ${BASE}
|
2023-11-24 11:30:15 +00:00
|
|
|
|
2022-11-14 23:11:32 +00:00
|
|
|
RUN apt-get update && apt-get upgrade -y
|
|
|
|
RUN apt-get install -y --no-install-recommends gcc g++ make python3 python3-dev python3-pip python3-venv python3-wheel espeak-ng libsndfile1-dev && rm -rf /var/lib/apt/lists/*
|
2022-11-15 23:21:56 +00:00
|
|
|
RUN pip3 install llvmlite --ignore-installed
|
2022-05-12 17:33:27 +00:00
|
|
|
|
2023-11-24 11:30:15 +00:00
|
|
|
# Install Dependencies:
|
2022-11-15 23:21:56 +00:00
|
|
|
RUN pip3 install torch torchaudio --extra-index-url https://download.pytorch.org/whl/cu118
|
2023-05-08 08:38:21 +00:00
|
|
|
RUN rm -rf /root/.cache/pip
|
2023-11-24 11:30:15 +00:00
|
|
|
|
|
|
|
# Copy TTS repository contents:
|
|
|
|
WORKDIR /root
|
|
|
|
COPY . /root
|
|
|
|
|
2022-04-14 23:13:32 +00:00
|
|
|
RUN make install
|
2023-11-24 11:30:15 +00:00
|
|
|
|
2022-04-14 23:13:32 +00:00
|
|
|
ENTRYPOINT ["tts"]
|
2022-05-30 10:07:31 +00:00
|
|
|
CMD ["--help"]
|