diff --git a/deployments/publichealth/image/Dockerfile b/deployments/publichealth/image/Dockerfile index ce65d8f45..d4420b7f7 100644 --- a/deployments/publichealth/image/Dockerfile +++ b/deployments/publichealth/image/Dockerfile @@ -50,8 +50,13 @@ RUN apt-get update > /dev/null && \ rm -rf /var/lib/apt/lists/* COPY install-mambaforge.bash /tmp/install-mambaforge.bash +COPY environment.yml /tmp/environment.yml + RUN /tmp/install-mambaforge.bash +RUN mamba env update -p ${CONDA_DIR} -f /tmp/environment.yml && \ + mamba clean -afy + USER ${NB_USER} COPY infra-requirements.txt /tmp/infra-requirements.txt