Switched from pip to pipx for nbconvert installation.\n Bumped gitea version.
This commit is contained in:
parent
9340e2689d
commit
022fb65877
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user