Skip to content
Snippets Groups Projects
Commit 319b739d authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

fixes conda env for jupyter.

parent bb592841
No related branches found
No related tags found
No related merge requests found
...@@ -75,9 +75,11 @@ RUN echo -e "\e[93m***** Install Jupyter Lab Extensions ****\e[38;5;241m" && \ ...@@ -75,9 +75,11 @@ RUN echo -e "\e[93m***** Install Jupyter Lab Extensions ****\e[38;5;241m" && \
fix-permissions $CONDA_DIR && \ fix-permissions $CONDA_DIR && \
fix-permissions /home/$NB_USER fix-permissions /home/$NB_USER
COPY code-server/codeserver-jupyter_notebook_config.py /tmp/ COPY configs/* /home/jovyan/.jupyter/
COPY code-server/jupyter_codeserver_config.py /tmp/
COPY code-server/icons $HOME/.jupyter/icons COPY code-server/icons $HOME/.jupyter/icons
RUN cat /tmp/codeserver-jupyter_notebook_config.py >> $HOME/.jupyter/jupyter_notebook_config.py RUN [[ ! -f /home/jovyan/.jupyter/jupyter_config.py ]] && touch /home/jovyan/.jupyter/jupyter_config.py ; \
cat /tmp/jupyter_codeserver_config.py >> /home/jovyan/.jupyter/jupyter_config.py
USER $NB_USER USER $NB_USER
......
{
"CondaKernelSpecManager": {
"kernelspec_path": "--user",
"__env_filter": "/opt/conda/*"
}
}
...@@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" ...@@ -6,7 +6,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
docker run --rm \ docker run --rm \
--name ${PWD##*/} \ --name ${PWD##*/} \
--volume $PWD/work:/home/jovyan/work \ --volume $PWD/work:/home/jovyan/work \
--publish 8888:8888 \ --publish 8889:8888 \
--env NB_UID=$UID \ --env NB_UID=$UID \
--env JUPYTER_ENABLE_LAB=yes \ --env JUPYTER_ENABLE_LAB=yes \
${BASE}:$SHA ${BASE}:$SHA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment