From fa58b1b8cb5c625edc9d11a801fcf782902b13ab Mon Sep 17 00:00:00 2001 From: Nick Cote Date: Fri, 2 Aug 2024 12:50:18 -0600 Subject: [PATCH] update --- notebooks/Containerfile | 8 ++++---- notebooks/environment.yml | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/notebooks/Containerfile b/notebooks/Containerfile index 8bc4590..5903414 100644 --- a/notebooks/Containerfile +++ b/notebooks/Containerfile @@ -11,17 +11,17 @@ RUN apt-get update && apt-get install -y git-all WORKDIR /home/mambauser/app # Run git clone to get the repo contents in to /home/mambauser/app -RUN git clone https://github.com/ProjectPythia/ERA5_interactive-cookbook.git +RUN git clone https://github.com/NicholasCote/ERA5_interactive-cookbook-ncote.git # Create a conda environment from the environment.yml file included in the repo -RUN micromamba env create -f ERA5_interactive-cookbook/notebooks/environment.yml +RUN micromamba env create -f ERA5_interactive-cookbook-ncote/notebooks/environment.yml # Activate the environment by providing ENV_NAME as an environment variable at runtime # Copy the notebook with the panel application to the working directory -RUN mv ERA5_interactive-cookbook/notebooks/04_dashboard.ipynb . +RUN mv ERA5_interactive-cookbook-ncote/notebooks/04_dashboard.ipynb . # Remove the rest of the repository as no other files are required -RUN rm -r ERA5_interactive-cookbook/ +RUN rm -r ERA5_interactive-cookbook-ncote/ # Make panel application port to the world outside this container EXPOSE 5006 diff --git a/notebooks/environment.yml b/notebooks/environment.yml index 001b6d9..d0b99f2 100644 --- a/notebooks/environment.yml +++ b/notebooks/environment.yml @@ -4,4 +4,5 @@ channels: dependencies: - xarray - panel - - hvplot \ No newline at end of file + - hvplot + - nbconvert \ No newline at end of file