From a7daebd4492559753bac9aef1112cf1bdee40a57 Mon Sep 17 00:00:00 2001 From: Ilija Vukotic Date: Tue, 22 Oct 2024 12:05:55 +0200 Subject: [PATCH] jupyter --- Dockerfile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 136220a..91c1e95 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,6 +2,10 @@ FROM ivukotic/ml_base:oct_upgrade LABEL maintainer Ilija Vukotic + +RUN mkdir /workspace +COPY private_jupyter_notebook_config.py /usr/local/etc/jupyter_notebook_config.py + ############################# # Python 3 packages ############################# @@ -45,7 +49,8 @@ RUN . base/bin/activate && \ RISE \ Cython && \ python -m pip install --upgrade pip && \ - python -m ipykernel install --name py312 --display-name "Python 3.12" + python -m ipykernel install --name py312 --display-name "Python 3.12" && \ + jupyter server extension enable --py jupyterlab --sys-prefix # build info @@ -61,12 +66,6 @@ COPY shell /.shell RUN chmod 755 .exec .run .shell - -RUN mkdir /workspace -COPY private_jupyter_notebook_config.py /usr/local/etc/jupyter_notebook_config.py - -RUN jupyter server extension enable --py jupyterlab --sys-prefix - RUN git clone https://github.com/maniaclab/ML_platform_tests.git RUN echo "Done"