Skip to content
Snippets Groups Projects
Commit 000cb0e8 authored by calrama's avatar calrama
Browse files

[jupyterhub] misc

parent ddebf090
No related branches found
No related tags found
No related merge requests found
Pipeline #31699 passed
...@@ -21,12 +21,6 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ ...@@ -21,12 +21,6 @@ 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
ENV IPYTHONDIR=/usr/local/etc/ipython
ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
COPY jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
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 \
...@@ -48,6 +42,12 @@ RUN python${PYTHON_VERSION} -m pip install \ ...@@ -48,6 +42,12 @@ RUN python${PYTHON_VERSION} -m pip install \
python${PYTHON_VERSION} -m pip install jupyterlab-git && \ python${PYTHON_VERSION} -m pip install jupyterlab-git && \
python${PYTHON_VERSION} -m jupyter lab build python${PYTHON_VERSION} -m jupyter lab build
ENV IPYTHONDIR=/usr/local/etc/ipython
ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
COPY jupyter_notebook_config.py ${JUPYTER_CONFIG_DIR}/
ENV JUPYTERLAB_SETTINGS_DIR=/root/.config/jupyter/lab/user-settings
ENV JUPYTERLAB_WORKSPACES_DIR=/root/.config/jupyter/lab/workspaces
RUN mkdir -p /usr/local/venv && \ RUN mkdir -p /usr/local/venv && \
python${PYTHON_VERSION} -m venv /usr/local/venv/default && \ python${PYTHON_VERSION} -m venv /usr/local/venv/default && \
. /usr/local/venv/default/bin/activate && \ . /usr/local/venv/default/bin/activate && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment