From a29156a80e9226cfdc33b60bed6adc88ed95d01c Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Thu, 17 Mar 2022 15:26:19 +0200 Subject: [PATCH] Add comment --- base-notebook/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base-notebook/Dockerfile b/base-notebook/Dockerfile index 0388dde7..c51a1feb 100644 --- a/base-notebook/Dockerfile +++ b/base-notebook/Dockerfile @@ -171,6 +171,8 @@ RUN sed -re "s/c.ServerApp/c.NotebookApp/g" \ /etc/jupyter/jupyter_server_config.py > /etc/jupyter/jupyter_notebook_config.py && \ fix-permissions /etc/jupyter/ +# This healtcheck works well for `lab`, `notebook`, `nbclassic`, `server` and `retro` jupyter commands +# https://github.com/jupyter/docker-stacks/issues/915#issuecomment-1068528799 HEALTHCHECK --interval=15s --timeout=3s \ CMD wget -O- --no-verbose --tries=1 http://localhost:8888/api || exit 1