diff --git a/dockerfiles/r-stat-301/Dockerfile b/dockerfiles/r-stat-301/Dockerfile index 1b11cff..8024e48 100644 --- a/dockerfiles/r-stat-301/Dockerfile +++ b/dockerfiles/r-stat-301/Dockerfile @@ -42,3 +42,11 @@ RUN jupyter labextension disable @jupyterlab/cell-toolbar-extension # Configure shortcuts-extension to remove Shift-M cell merge shortcut COPY shortcuts.jupyterlab-settings /home/${NB_USER}/.jupyter/lab/user-settings/\@jupyterlab/shortcuts-extension/shortcuts.jupyterlab-settings + +# Make sure everything in the home folder is owned by NB_USER for running docker image locally. +USER root +RUN chown -R ${NB_USER} /home/${NB_USER} +USER ${NB_UID} + +# Disable HEALTHCHECK for performance reasons +HEALTHCHECK NONE \ No newline at end of file