faceswap/Dockerfile.gpu
torzdf 4819d5b97d bugfixes:
- Remove duplicate line from Dockerfile.gpu
  - Add more robust Conda checking
2023-06-27 16:05:53 +01:00

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"]