mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-08 11:57:48 +08:00
28 lines
691 B
Docker
28 lines
691 B
Docker
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"]
|