voice-changer/docker_vcclient/Dockerfile

28 lines
691 B
Docker
Raw Normal View History

2023-04-19 18:43:28 +03:00
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/*
2023-04-28 13:06:31 +03:00
WORKDIR /
ADD dummy /
2023-08-26 14:50:23 +03:00
RUN git clone https://github.com/w-okada/voice-changer.git -b v.1.5.3.13
2023-04-29 01:05:44 +03:00
2023-04-19 18:43:28 +03:00
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
2023-04-19 18:43:28 +03:00
2023-06-18 11:11:44 +03:00
ADD /setup.sh /voice-changer/server
ADD /exec.sh /voice-changer/server
2023-04-19 18:43:28 +03:00
ENTRYPOINT ["/bin/bash", "setup.sh"]