anchor.diff:       TETHYS_SUPER_USER_EMAIL='' \
        TETHYS_SUPER_USER_PASS='pass' \
        TETHYS_CONDA_HOME=${CONDA_HOME} \
  -     TETHYS_CONDA_ENV_NAME=${CONDA_ENV_NAME} 
  +     TETHYS_CONDA_ENV_NAME=${CONDA_ENV_NAME} \
   
   # Misc
  -ENV  ALLOWED_HOST=127.0.0.1 \
  +     ALLOWED_HOST=127.0.0.1 \
        BASH_PROFILE=".bashrc" \
        CONDA_HOME="${TETHYS_HOME}/miniconda" \
        CONDA_ENV_NAME=tethys \
  
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 \
  