Spaces:
Paused
Paused
Add models by git clone
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -13,7 +13,12 @@ RUN apt-get install git -y
|
|
| 13 |
RUN apt-get install curl -y
|
| 14 |
RUN apt-get install ffmpeg -y
|
| 15 |
|
| 16 |
-
RUN git clone https://
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
RUN python install.py --onnxruntime cuda-11.8 --skip-conda
|
| 18 |
CMD ["python", "run.py", "--execution-providers", "cuda"]
|
| 19 |
|
|
|
|
| 13 |
RUN apt-get install curl -y
|
| 14 |
RUN apt-get install ffmpeg -y
|
| 15 |
|
| 16 |
+
RUN git clone https://github.com/facefusion/facefusion.git --branch ${FACEFUSION_VERSION} --single-branch .
|
| 17 |
+
|
| 18 |
+
WORKDIR /facefusion/.assets/models
|
| 19 |
+
RUN git clone https://github.com/facefusion/facefusion-assets.git .
|
| 20 |
+
|
| 21 |
+
WORKDIR /facefusion
|
| 22 |
RUN python install.py --onnxruntime cuda-11.8 --skip-conda
|
| 23 |
CMD ["python", "run.py", "--execution-providers", "cuda"]
|
| 24 |
|