mirror of
https://github.com/deepfakes/faceswap.git
synced 2026-10-19 06:57:57 +08:00
4819d5b97d
- Remove duplicate line from Dockerfile.gpu - Add more robust Conda checking
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"]
|