diff --git a/Dockerfile b/Dockerfile index 4783c08..6356d3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ -FROM gitea/gitea:1.20.5 +FROM gitea/gitea:1.23.1 -RUN apk --no-cache add py3-pip pandoc-cli +RUN apk --no-cache add pipx pandoc-cli -RUN pip3 install --upgrade pip -RUN pip3 install nbconvert +RUN pipx install --global nbconvert COPY custom/app.ini /data/gitea/conf/app.ini diff --git a/custom/app.ini b/custom/app.ini index df286c2..2a5f074 100644 --- a/custom/app.ini +++ b/custom/app.ini @@ -28,7 +28,7 @@ DISABLE_REGISTRATION = true [markup.jupyter] ENABLED = true FILE_EXTENSIONS = .ipynb -RENDER_COMMAND = "jupyter nbconvert --stdin --stdout --to html --template basic" +RENDER_COMMAND = "jupyter-nbconvert --stdin --stdout --to html --template basic" IS_INPUT_FILE = false [markup.sanitizer.jupyter.img]