anchor.diff:  	libdb-devel \
   	openldap-devel \
   	perl \
  -	postgresql-devel \
   	python36u-devel \
  -    && yum -y clean all
  +    && cd /var/lib/rpm \
  +    && rm -rf __db* \
  +    && rpm --rebuilddb \
  +    && yum -y clean all \
  +    && rm -rf $HOME/.pip/cache \
  +    && rm -rf /var/cache/*/* /anaconda-post.log
   
   COPY conf/app.wsgi /var/www/html/
   # prefix "ZZ" added, that it gest inluded the very end (after Shibboleth gets loaded)
  
positive.code:     	httpd \
  	mod_ssl \
      	gcc.x86_64 \
  	httpd-devel.x86_64 \
  	python36u.x86_64 \
  	python36u-devel.x86_64 \
  	python36u-pip \
  
negative.code: COPY requirements.txt /requirements.txt
  COPY run-app /usr/local/bin/
  COPY ./conf /conf
  RUN chmod +x /usr/local/bin/run-app \
     && pip3.6 install -r /requirements.txt \
     && rm -rf $HOME/.pip/cache \
     && rm -rf /var/cache/*/*
  
  
  EXPOSE 80 443
  
  