anchor.diff:      fi
   
   RUN \
  +    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61 && \
       apt-get update && \
       apt-get install --yes --force-yes portal && \
       apt-get clean && \
  
positive.code: 
  COPY portal.wsgi /var/www/
  
  ENV PROJECT_DIR="/opt/venvs/portal"
  ENV \
      FLASK_APP="${PROJECT_DIR}/bin/manage.py" \
      LOG_FOLDER="/tmp/shared_service_log" \
      PORT="${PORT:-8008}" \
      PERSISTENCE_FILE="${PERSISTENCE_FILE:-https://raw.githubusercontent.com/uwcirg/TrueNTH-USA-site-config/master/site_persistence_file.json}"
  RUN mkdir -p ${LOG_FOLDER} ${PROJECT_DIR}/var/portal-instance/
  RUN chown www-data:www-data ${LOG_FOLDER} ${PROJECT_DIR}/var/portal-instance/
  
  ENV APACHE_SERVER_NAME=${APACHE_SERVER_NAME:-localhost}
  
  RUN \
      a2ensite portal && a2dissite 000-default && \
      sed -i 's|Listen [[:digit:]]\+|Listen ${PORT}|g' /etc/apache2/ports.conf
  EXPOSE ${PORT}
  
  CMD \
  
negative.code: \n'\
  > /etc/apache2/sites-available/portal.conf
  
  ARG debian_repo="http://dl.bintray.com/v1/content/uwcirg/truenth"
  
  COPY artifacts /tmp/artifacts
  