From cb0adb4d958ea9ccedb3ae62490f06465324e507 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan <girish@cloudron.io> Date: Wed, 5 Mar 2025 15:46:19 +0100 Subject: [PATCH] use pipx to install pip binaries --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9729f08..ca7dfdd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,12 @@ FROM cloudron/base:5.0.0@sha256:04fd70dbd8ad6149c19de39e35718e024417c3e01dc9c6637eaf4a41ec4e596c RUN apt-get update && \ - apt-get install -y openssh-server git asciidoctor pandoc && \ + apt-get install -y openssh-server git asciidoctor pandoc pipx && \ rm -rf /etc/ssh_host_* && \ rm -r /var/cache/apt /var/lib/apt/lists -RUN pip3 install jupyter + +# pipx --global does not work, not sure why +RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install jupyter docutils --include-deps ADD supervisor/ /etc/supervisor/conf.d/