1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-03-16 11:32:46 +00:00

use pipx to install pip binaries

This commit is contained in:
Girish Ramakrishnan 2025-03-05 15:46:19 +01:00
parent 574bb07847
commit cb0adb4d95

@ -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/