  FROM gw000/keras:2.0.6-py3-tf-cpu
  
  # install dependencies from debian packages
  RUN apt-get update -qq \
   && apt-get install --no-install-recommends -y \
      python-pip \
      python-dev
  
 
</s> remove RUN pip install --upgrade keras
 </s> add RUN pip --no-cache-dir install -r ./requirements.txt </s> remove     tensorflow \
    opencv-python \
 </s> add  </s> remove     h5py
 </s> add 
  FROM gw000/keras:2.0.6-py3-tf-cpu
  

  RUN apt-get update -qq \
   && apt-get install --no-install-recommends -y \
      python-pip \
      python-dev
  
keep keep replace keep keep keep keep keep
 Add requirements.txt to docker file 
Dockerfile