Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
eculler committed Apr 19, 2023
1 parent 3364d74 commit e676ec7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 update -n base -f /home/jovyan/environment.yml
RUN mamba env create -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 base" >> /home/jovyan/.bash_profile
RUN . /opt/conda/etc/profile.d/conda.sh && conda activate base && python -m ipykernel install --user --name base
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
RUN source /home/jovyan/.bash_profile

# Install JupyterLab widget extensions
Expand All @@ -23,7 +23,6 @@ RUN jupyter labextension install \
jupyterlab_iframe \
jupyter-leaflet \
jupyter-threejs \
nbgrader \
&& npm cache clean --force

RUN jupyter lab build

0 comments on commit e676ec7

Please sign in to comment.