forked from w-okada/voice-changer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (17 loc) · 691 Bytes
/
Dockerfile
File metadata and controls
27 lines (17 loc) · 691 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
# FROM nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04
RUN apt-get update \
&& apt-get install -y python3-pip espeak gosu libsndfile1-dev emacs git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /
ADD dummy /
RUN git clone https://github.com/w-okada/voice-changer.git -b v.1.5.3.13
RUN chmod 0777 /voice-changer/server
WORKDIR /voice-changer/server
RUN pip install numpy==1.23.5 \
&& pip install pyworld==0.3.3 --no-build-isolation \
&& pip install -r requirements.txt
ADD /setup.sh /voice-changer/server
ADD /exec.sh /voice-changer/server
ENTRYPOINT ["/bin/bash", "setup.sh"]