-
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from NourAlMerey/master
adding base image Dockerfile and updating README
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters