Skip to content
Snippets Groups Projects
Commit 986cb0e7 authored by calrama's avatar calrama
Browse files

[jupyterhub] misc

parent edb1d9ee
No related branches found
No related tags found
No related merge requests found
...@@ -21,6 +21,11 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ ...@@ -21,6 +21,11 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
npm config set cache /var/cache/npm --global && \ npm config set cache /var/cache/npm --global && \
npm config set update-notifier false --global npm config set update-notifier false --global
COPY jupyter_notebook_config.py /usr/local/etc/jupyter
ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter/jupyter
ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
RUN python${PYTHON_VERSION} -m pip install \ RUN python${PYTHON_VERSION} -m pip install \
jupyterlab \ jupyterlab \
jupyterhub \ jupyterhub \
...@@ -74,11 +79,6 @@ RUN mkdir -p /usr/local/venv && \ ...@@ -74,11 +79,6 @@ RUN mkdir -p /usr/local/venv && \
&& \ && \
ipython kernel install --name=default ipython kernel install --name=default
COPY jupyter_notebook_config.py /etc/jupyter/
ENV JUPYTER_CONFIG_DIR=/etc/jupyter
ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
RUN chmod -x /etc/update-motd.d/* RUN chmod -x /etc/update-motd.d/*
RUN mkdir /data RUN mkdir /data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment