From e17029b4254dc09586eb08fbac3f2204be337f75 Mon Sep 17 00:00:00 2001 From: binarygeek119 <72405030+binarygeek119@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:35:17 -0500 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7e835f3..3034fe6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,14 @@ FROM nvidia/cuda:12.5.0-runtime-ubuntu22.04 WORKDIR /app -RUN apt-get update -RUN apt-get install git python3-pip -y +RUN apt-get update && apt-get install git python3-pip -y && apt-get clean && rm -rf /var/lib/apt/lists/* RUN git clone https://github.com/rakuri255/UltraSinger.git WORKDIR /app/UltraSinger -RUN apt-get install ffmpeg curl -y +RUN apt-get update && apt-get install ffmpeg curl -y && apt-get clean && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir -r requirements.txt -RUN pip install --no-cache-dir torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121 +RUN pip install --no-cache-dir torch==2.3.0 torchvision==0.18.0 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121 RUN pip install --no-cache-dir tensorflow[and-cuda]==2.16.1 -RUN apt-get clean && rm -rf /var/lib/apt/lists/* ENV UID=0 ENV GID=0 ENV UMASK=022