mirror of
https://github.com/facefusion/facefusion-docker.git
synced 2026-04-27 03:26:11 +02:00
18 lines
497 B
Docker
18 lines
497 B
Docker
FROM rocm/dev-ubuntu-22.04:5.7.1
|
|
|
|
ARG FACEFUSION_VERSION=2.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 curl -y
|
|
RUN apt-get install ffmpeg -y
|
|
|
|
RUN git clone https://github.com/facefusion/facefusion.git --branch ${FACEFUSION_VERSION} --single-branch .
|
|
RUN python install.py --torch rocm --onnxruntime rocm --skip-venv
|