From d3e14c3f02ba4a9d0f98044a2d866d1a2db5e917 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Sun, 17 Mar 2024 18:11:32 +0100 Subject: [PATCH] add tini, to reap jupyter zombies --- jupyter/Containerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jupyter/Containerfile b/jupyter/Containerfile index fdf7c03..9d09868 100644 --- a/jupyter/Containerfile +++ b/jupyter/Containerfile @@ -3,7 +3,7 @@ FROM registry.fedoraproject.org/fedora-minimal:39 ENV VIRTUAL_ENV=/venv ENV PATH=/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -ENV PKGS_DNF="python nodejs latex xelatex" +ENV PKGS_DNF="python nodejs latex xelatex tini" ENV PKGS_DNF_BUILD="cargo python3-devel" ENV PKGS_PIP="jupyter \ @@ -44,6 +44,6 @@ RUN dnf5 install -y ${PKGS_DNF} ${PKGS_DNF_BUILD} && \ WORKDIR /jupyter -ENTRYPOINT [ "jupyter" ] +ENTRYPOINT [ "tini" ] -CMD [ "notebook", "--allow-root", "--no-browser", "--autoreload", "--ip", "0.0.0.0" ] +CMD [ "jupyter", "--", "notebook", "--allow-root", "--no-browser", "--autoreload", "--ip", "0.0.0.0" ]