From e7d761aebd6d30b368727565a9455daaf332d0b3 Mon Sep 17 00:00:00 2001 From: Elsa Culler Date: Wed, 19 Apr 2023 15:15:38 -0600 Subject: [PATCH] Redo changes --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a9275a4..78115c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,12 +8,12 @@ RUN conda config --add channels conda-forge RUN conda config --set channel_priority strict COPY environment.yml /home/jovyan/ -RUN mamba env create -f /home/jovyan/environment.yml +RUN mamba env update -n base -f /home/jovyan/environment.yml # using ~/.bash_profile instead of ~/.bashrc for non-interactive tty (-it) containers RUN echo ". /opt/conda/etc/profile.d/conda.sh" >> /home/jovyan/.bash_profile && \ echo "conda deactivate" >> /home/jovyan/.bash_profile && \ - echo "conda activate earth-analytics-python" >> /home/jovyan/.bash_profile -RUN . /opt/conda/etc/profile.d/conda.sh && conda activate earth-analytics-python && python -m ipykernel install --user --name earth-analytics-python + echo "conda activate base" >> /home/jovyan/.bash_profile +RUN . /opt/conda/etc/profile.d/conda.sh && conda activate base && python -m ipykernel install --user --name base RUN source /home/jovyan/.bash_profile # Install JupyterLab widget extensions @@ -23,6 +23,7 @@ RUN jupyter labextension install \ jupyterlab_iframe \ jupyter-leaflet \ jupyter-threejs \ + nbgrader \ && npm cache clean --force RUN jupyter lab build