mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
19 lines
542 B
Docker
Executable File
19 lines
542 B
Docker
Executable File
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
ENV FACESWAP_BACKEND nvidia
|
|
|
|
RUN apt-get update -qq -y
|
|
RUN apt-get upgrade -y
|
|
RUN apt-get install -y libgl1 libglib2.0-0 python3 python3-pip python3-tk git
|
|
|
|
RUN ln -s $(which python3) /usr/local/bin/python
|
|
|
|
RUN git clone --depth 1 --no-single-branch https://github.com/deepfakes/faceswap.git
|
|
WORKDIR "/faceswap"
|
|
|
|
RUN python -m pip install --upgrade pip
|
|
RUN python -m pip --no-cache-dir install -r ./requirements/requirements_nvidia.txt
|
|
|
|
CMD ["/bin/bash"]
|