File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ WORKDIR ${HOME}
1010
1111# Clone the tutorial repository
1212RUN git clone \
13- --branch add-dockerfile \
13+ --branch main \
1414 --depth 1 \
1515 ${REPO}
1616
@@ -31,25 +31,16 @@ RUN apt-get update && \
3131 apt-get clean && \
3232 rm -rf /var/lib/apt/lists/*
3333
34- # Copy the script to setup the environment
35- # RUN cp -a docker/setup_custom_env.py /opt/setup-scripts/ && \
36- # chmod +x /opt/setup-scripts/setup_custom_env.py
37-
38- # Copy the script to activate the Conda environment
39- # RUN cp -a docker/activate-custom-env.sh /usr/local/bin/before-notebook.d/
40-
4134# Switch back to the default notebook user
4235USER ${NB_UID}
4336
4437# Create the Conda environment defined in environment.yml
45- RUN mamba env update -f docker/environment.yml && \
38+ # COPY --chown=${NB_USER}:${NB_GID} docker/environment.yml docker/environment.yml
39+ RUN mamba env update -n base -f docker/environment.yml && \
4640 mamba clean --all -f -y && \
4741 fix-permissions "${CONDA_DIR}" && \
4842 fix-permissions "/home/${NB_USER}"
4943
50- # Register the Jupyter kernel from the custom environment
51- # RUN /opt/setup-scripts/setup_custom_env.py ${BASENAME}
52-
5344# Copy the IPython configuration file (binder/postBuild script)
5445RUN mkdir -p ${HOME}/.ipython/profile_default && \
5546 cp -a binder/ipython_config.py ${HOME}/.ipython/profile_default/
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: base
33channels :
44 - conda-forge
55dependencies :
6- - python=3.10
76 - pip
87 - pip :
98 - numpy
You can’t perform that action at this time.
0 commit comments