Initial commit

This commit is contained in:
henryruhs
2023-09-10 20:48:16 +02:00
commit 8eb71d5504
11 changed files with 199 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
ARG FACEFUSION_VERSION=1.1.0
ENV GRADIO_SERVER_NAME=0.0.0.0
WORKDIR /facefusion
RUN apt-get update
RUN apt-get install python3.10 -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 ffmpeg -y
RUN git clone https://github.com/facefusion/facefusion.git --branch $FACEFUSION_VERSION --single-branch .
RUN pip install -r requirements.txt --extra-index-url https://download.pytorch.org/whl/cu118
RUN pip uninstall onnxruntime -y
RUN pip install onnxruntime-gpu==1.15.1