diff --git a/deployments/publichealth/image/Dockerfile b/deployments/publichealth/image/Dockerfile index ce65d8f45..05ad03c07 100644 --- a/deployments/publichealth/image/Dockerfile +++ b/deployments/publichealth/image/Dockerfile @@ -54,6 +54,10 @@ RUN /tmp/install-mambaforge.bash USER ${NB_USER} +COPY environment.yml /tmp/environment.yml +RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \ + mamba clean -afy + COPY infra-requirements.txt /tmp/infra-requirements.txt RUN pip install --no-cache-dir -r /tmp/infra-requirements.txt diff --git a/deployments/publichealth/image/environment.yml b/deployments/publichealth/image/environment.yml index 70d5b8fc0..028a6ad9a 100644 --- a/deployments/publichealth/image/environment.yml +++ b/deployments/publichealth/image/environment.yml @@ -1,10 +1,10 @@ dependencies: +- pip - syncthing==1.18.6 +- jupyter-rsession-proxy==2.2.0 - pip: # bug w/notebook and traitlets: https://github.com/jupyter/notebook/issues/7048 - traitlets==5.9.0 - - -r /tmp/infra-requirements.txt + # - -r /tmp/infra-requirements.txt # RStudio support - - jupyter-rsession-proxy==2.2.0 - otter-grader==2.2.7 -~