Skip to content

Commit 8ccd97a

Browse files
committed
try to fix the extra launcher buttons
1 parent 022c581 commit 8ccd97a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

images/aomlomics-jh/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ RUN echo "Creating ${NB_USER} user..." \
1414
# Make sure that /opt (where conda lives) is owned by non-root user, so we can install things there
1515
&& chown -R ${NB_USER}:${NB_USER} /opt
1616

17+
# Copy jupyter_notebook_config.py /etc/jupyter so
18+
# it will be read by jupyter processes when they start. This feature is
19+
# not available in repo2docker.
20+
RUN mkdir -p /etc/jupyter \
21+
&& cp jupyter_notebook_config.py /etc/jupyter
22+
1723
USER ${NB_USER}
1824

1925
# add the packages needed for jupyterhubs to the base environment
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# from https://github.com/pangeo-data/pangeo-docker-images/blob/master/pangeo-notebook
2+
import os
3+
4+
# Configure nb_conda_kernels to avoid registering jupyter kernels in our conda
5+
# environment again.
6+
c.CondaKernelSpecManager.env_filter = f'.*envs/{os.environ["CONDA_ENV"]}.*'

0 commit comments

Comments
 (0)