      python-pip \
      python-dev
  
  # install dependencies from python packages
  RUN pip install --upgrade setuptools
  
  RUN pip --no-cache-dir install -r ./requirements.txt
  
 
</s> remove RUN pip install --upgrade keras
 </s> add RUN pip --no-cache-dir install -r ./requirements.txt </s> remove # install dependencies from debian packages
 </s> add  </s> remove     tensorflow \
    opencv-python \
 </s> add  </s> remove     h5py
 </s> add 
COPY requirements.txt .

      python-pip \
      python-dev
  
COPY requirements.txt .

  # install dependencies from python packages
  RUN pip install --upgrade setuptools
  
  RUN pip --no-cache-dir install -r ./requirements.txt
  
keep keep add keep keep keep keep keep
 Add requirements.txt to docker file 
Dockerfile