Spaces:
Paused
Paused
Download Dockerfile from dartv/facefusion-docker: direct link, hf CLI and curl.
- Browser
- Download file 600 Bytes
-
https://huggingface.co/spaces/dartv/facefusion-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/dartv/facefusion-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/dartv/facefusion-docker/resolve/main/Dockerfile
600 Bytes
| FROM nvidia/cuda:12.9.1-cudnn-runtime-ubuntu24.04 | |
| ARG FACEFUSION_VERSION=3.3.2 | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| ENV PIP_BREAK_SYSTEM_PACKAGES=1 | |
| WORKDIR /facefusion | |
| RUN apt-get update | |
| RUN apt-get install python3.12 -y | |
| RUN apt-get install python-is-python3 -y | |
| RUN apt-get install pip -y | |
| RUN apt-get install git -y | |
| RUN apt-get install curl -y | |
| RUN apt-get install ffmpeg -y | |
| RUN git clone https://github.com/dartv123/facefusion.git --branch master --single-branch . | |
| RUN python install.py --onnxruntime cuda --skip-conda | |
| # Copy in our custom UI | |
| COPY app.py . | |
| # Launch our UI | |
| CMD ["python", "app.py"] | |