mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-17 19:55:34 +00:00
external-renders: add agrs --global for pipx (#33)
Add `--global` to fix jupyter to /usr/local/bin Reviewed-on: https://gitea.com/gitea/docs/pulls/33 Reviewed-by: yp05327 <[email protected]> Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: ifurther <[email protected]> Co-committed-by: ifurther <[email protected]>
This commit is contained in:
@@ -32,7 +32,7 @@ COPY custom/app.ini /data/gitea/conf/app.ini
|
||||
RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev pandoc python3-dev py3-pyzmq pipx
|
||||
# install any other package you need for your external renderers
|
||||
|
||||
RUN pipx install jupyter docutils --include-deps
|
||||
RUN pipx install jupyter docutils --include-deps --global
|
||||
# add above any other python package you may need to install
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -40,7 +40,7 @@ COPY custom/app.ini /data/gitea/conf/app.ini
|
||||
RUN apk --no-cache add asciidoctor freetype freetype-dev gcc g++ libpng libffi-dev pandoc python3-dev py3-pyzmq pipx
|
||||
# 安装其他您需要的外部渲染器的软件包
|
||||
|
||||
RUN pipx install jupyter docutils --include-deps
|
||||
RUN pipx install jupyter docutils --include-deps --global
|
||||
# 在上面添加您需要安装的任何其他 Python 软件包
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user