Skip to content
Snippets Groups Projects
Commit 5c2e67a8 authored by calrama's avatar calrama
Browse files

[jupyterlab] move root home to /home

parent bcbbb7d3
No related branches found
No related tags found
No related merge requests found
Pipeline #31706 passed
...@@ -21,6 +21,7 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ ...@@ -21,6 +21,7 @@ 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 HOME=/home
ENV XDG_DATA_HOME=/usr/local/share ENV XDG_DATA_HOME=/usr/local/share
ENV IPYTHONDIR=/usr/local/etc/ipython ENV IPYTHONDIR=/usr/local/etc/ipython
ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter ENV JUPYTER_CONFIG_DIR=/usr/local/etc/jupyter
...@@ -83,5 +84,5 @@ RUN mkdir -p /usr/local/venv && \ ...@@ -83,5 +84,5 @@ RUN mkdir -p /usr/local/venv && \
RUN chmod -x /etc/update-motd.d/* RUN chmod -x /etc/update-motd.d/*
WORKDIR "/root" WORKDIR "${HOME}"
CMD [ "jupyterhub-singleuser" ] CMD [ "jupyterhub-singleuser" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment