  
  COPY requirements.txt /opt/
  RUN pip3 install dlib --install-option=--yes --install-option=USE_AVX_INSTRUCTIONS
  RUN pip3 --no-cache-dir install -r /opt/requirements.txt && rm /opt/requirements.txt
  
  # patch for tensorflow:latest-gpu-py3 image
 
</s> remove  && apt-get install -y cmake libsm6 libxrender1 libxext-dev python3-tk\
 </s> add  && apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\ </s> remove  && apt-get install -y cmake libsm6 libxrender1 libxext-dev python3-tk\
 </s> add  && apt-get install -y libsm6 libxrender1 libxext-dev python3-tk\ </s> remove # without gui. tools.py gui working.
docker run -p 8888:8888 --hostname faceswap-gpu --name faceswap-gpu -v {path}:/srv faceswap-gpu
 </s> add # without gui. tools.py gui not working.
docker run -p 8888:8888 \
    --hostname faceswap-gpu --name faceswap-gpu \
    -v {path}:/srv \
    faceswap-gpu </s> remove # with gui. tools.py gui not working.
docker run -p 8888:8888 \\
 </s> add # with gui. tools.py gui working.
## enable local access to X11 server
xhost +local:
## enable nvidia device if working under bumblebee
echo ON > /proc/acpi/bbswitch
## create container
nvidia-docker run -p 8888:8888 \\
RUN pip3 install cmake
  
  COPY requirements.txt /opt/
RUN pip3 install cmake
  RUN pip3 install dlib --install-option=--yes --install-option=USE_AVX_INSTRUCTIONS
  RUN pip3 --no-cache-dir install -r /opt/requirements.txt && rm /opt/requirements.txt
  
  # patch for tensorflow:latest-gpu-py3 image
keep add keep keep keep keep
 Fix bug in docker image tf/tf:latest-gpu-py3 (#400) 
Dockerfile.gpu