  
  COPY ./requirements-python35.txt .
  RUN pip3 --no-cache-dir install -r ./requirements-python35.txt
  
  WORKDIR /srv/
 
</s> remove COPY ./requirements-python35.txt .
RUN pip3 --no-cache-dir install -r ./requirements-python35.txt
 </s> add COPY requirements-docker.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-docker.txt && rm /opt/requirements-docker.txt </s> remove COPY requirements-docker-gpu.txt /opt/
RUN pip3 --no-cache-dir install -r /opt/requirements-docker-gpu.txt && rm /opt/requirements-docker-gpu.txt
 </s> add COPY requirements-docker.txt /opt/
RUN pip3 install dlib --install-option=--yes --install-option=USE_AVX_INSTRUCTIONS
RUN pip3 --no-cache-dir install -r /opt/requirements-docker.txt && rm /opt/requirements-docker.txt
 </s> remove # install debian packages
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update -qq \
 && apt-get install --no-install-recommends -y \
    # install essentials
	build-essential \ 
	# install python 3
	python3.5 \ 
	python3-dev \
	python3-pip \ 
	python3-wheel \ 
	# Boost for dlib
	cmake \
	libboost-all-dev \ 
	# requirements for keras
	python3-h5py \
	python3-yaml \
	python3-pydot \
	python3-setuptools \
 </s> add RUN apt-get update -qq -y \
 && apt-get install -y cmake libsm6 libxrender1 libxext-dev python3-tk\ </s> remove FROM debian:stretch
 </s> add FROM tensorflow/tensorflow:latest-py3
WORKDIR "/notebooks"
CMD ["/run_jupyter.sh", "--allow-root"]
  
  COPY ./requirements-python35.txt .
  RUN pip3 --no-cache-dir install -r ./requirements-python35.txt
  
WORKDIR "/notebooks"
CMD ["/run_jupyter.sh", "--allow-root"]
keep keep keep keep replace
 Unified Dependency Solution (#370)

* Unified install helper

smart load dep from requirements-docker.txt

working GUI in docker

compile dlib with avx&cuda

* improve tf version selection 
Dockerfile.cpu