diff --git a/Dockerfile b/Dockerfile index fc1ee26..71240b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,9 @@ WORKDIR /app COPY . . -RUN apt update && apt install -y -qq ffmpeg aria2 +RUN apt update && apt install -y -qq ffmpeg aria2 && apt clean -RUN pip3 install -r requirements.txt +RUN pip3 install --no-cache-dir -r requirements.txt RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/D40k.pth -d assets/pretrained_v2/ -o D40k.pth RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/pretrained_v2/G40k.pth -d assets/pretrained_v2/ -o G40k.pth @@ -26,4 +26,4 @@ RUN aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co VOLUME [ "/app/weights", "/app/opt" ] -CMD ["python3", "infer-web.py"] \ No newline at end of file +CMD ["python3", "infer-web.py"]