anchor.diff:  # Setup Conda Environment
   ADD environment_py2.yml ${TETHYS_HOME}/src/
   WORKDIR ${TETHYS_HOME}/src
  -RUN ${CONDA_HOME}/bin/conda env create -n "${CONDA_    _NAME}" -f="environment_py${PYTHON_VERSION}.yml" \
  +RUN ${CONDA_HOME}/bin/conda env create -n "${CONDA_ENV_NAME}" -f "environment_py${PYTHON_VERSION}.yml"
   
   ###########
   # INSTALL #
  
positive.code: #########################
  # CONFIGURE  ENVIRONMENT#
  #########################
  ENV PATH ${CONDA_HOME}/miniconda}/envs/tethys/bin:$PATH 
  VOLUME ["${TETHYS_HOME}/workspaces", "${TETHYS_HOME}/keys"]
  EXPOSE 80
  
  
negative.code: ADD aquaveo_static/tethys_main.css ${TETHYS_HOME}/src/static/tethys_portal/css/tethys_main.css
  
  # Generate Inital Settings Files
  RUN . ${CONDA_HOME}/bin/activate ${CONDA_ENV_NAME} \
    ; tethys gen settings --production --allowed-host ${ALLOWED_HOST} --db-username ${TETHYS_DB_USERNAME} --db-password ${TETHYS_DB_PASSWORD} --db-port ${TETHYS_DB_PORT} --overwrite \
    ; sed -i -e "s/#TETHYS_WORKSPACES_ROOT = '\/var\/www\/tethys\/static\/workspaces'/TETHYS_WORKSPACES_ROOT = '\/usr\/lib\/tethys\/workspaces'/g" ${TETHYS_HOME}/src/tethys_portal/settings.py \
    ; tethys gen nginx --overwrite \
    ; tethys gen uwsgi_settings --overwrite \
  