forked from Camb-ai/MARS5-TTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
23 lines (18 loc) · 848 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM python:3
# metainformation
LABEL org.opencontainers.image.source = "https://github.com/Camb-ai/MARS5-TTS"
LABEL org.opencontainers.image.licenses = "AGPL-3.0 license"
# enable passwordless ssh
RUN mkdir ~/.ssh && \
printf "Host * \n ForwardAgent yes\nHost *\n StrictHostKeyChecking no" > ~/.ssh/config && \
ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa && \
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
# enable RDMA support: this enables direct access to GPU memory
RUN apt-get update && \
apt-get install -y infiniband-diags perftest ibverbs-providers libibumad3 libibverbs1 libnl-3-200 libnl-route-3-200 librdmacm1 && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# install MARS5-TTS
RUN git clone https://github.com/Camb-ai/MARS5-TTS.git \
&& cd ./MARS5-TTS \
&& pip install -r requirements.txt