From 43e99106c5f256571f94cf4465f5f01ed87ac22b Mon Sep 17 00:00:00 2001 From: Brian Kim Date: Thu, 7 Sep 2023 09:51:11 -0700 Subject: [PATCH] Disable healthcheck and put back chown command. --- dockerfiles/r-stat-301/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) 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