mirror of
https://github.com/rakuri255/UltraSinger.git
synced 2026-11-25 16:38:59 +09:00
updated dockerfile
This commit is contained in:
1 parent
99fc4261b7
commit
4e8a9978a8
1 file changed
+3
-6
+3
-6
@@ -1,11 +1,8 @@
|
||||
FROM nogil/python-cuda
|
||||
FROM nvidia/cuda:12.5.0-runtime-ubuntu22.04
|
||||
|
||||
|
||||
FROM python:3.10.1-buster
|
||||
WORKDIR /app
|
||||
RUN apt update
|
||||
RUN apt install software-properties-common -y
|
||||
RUN apt install git -y
|
||||
RUN apt install git python3-pip -y
|
||||
RUN pip3 install torch==2.0.1+cu117 torchvision==0.15.2+cu117 torchaudio==2.0.2+cu117 --index-url https://download.pytorch.org/whl/cu117
|
||||
|
||||
|
||||
@@ -16,7 +13,7 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN git clone https://github.com/rakuri255/UltraSinger.git
|
||||
WORKDIR /app/UltraSinger
|
||||
RUN cp -Rv * ..
|
||||
RUN apt install ffmpeg -y
|
||||
RUN apt install ffmpeg curl -y
|
||||
RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /app/yt-dlp
|
||||
RUN chmod a+rx /app/yt-dlp
|
||||
ENV UID=0
|
||||
|
||||
Reference in new issue
Block a user