Download assets/docker/Dockerfile.cuda128 from AnhP/RVC-GUI: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/spaces/AnhP/RVC-GUI/resolve/main/assets/docker/Dockerfile.cuda128
- Command line
-
hf download hf://spaces/AnhP/RVC-GUI/assets/docker/Dockerfile.cuda128
-
curl -L -o Dockerfile.cuda128 https://huggingface.co/spaces/AnhP/RVC-GUI/resolve/main/assets/docker/Dockerfile.cuda128
858 Bytes
| FROM python:3.11-slim | |
| EXPOSE 7860 | |
| RUN apt-get update && apt-get install -y ffmpeg && apt-get install -y libportaudio2 && apt-get clean | |
| WORKDIR /app | |
| COPY . . | |
| RUN python3 -m venv /app/.venv && \ | |
| . /app/.venv/bin/activate && \ | |
| python -c "from main.app.install import remove_onnxruntime;remove_onnxruntime()" && \ | |
| pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir six packaging python-dateutil platformdirs wget && \ | |
| pip install --no-cache-dir torch==2.7.1 torchvision torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cu128 && \ | |
| pip install --no-cache-dir onnxruntime-gpu==1.22.0 && \ | |
| pip install --no-cache-dir -r requirements.txt && \ | |
| pip install --no-cache-dir faiss-cpu==1.13.2 | |
| VOLUME [ "/app/assets" ] | |
| ENV PATH="/app/.venv/bin:$PATH" | |
| CMD ["python3", "main/app/app.py", "--client"] | |