mirror of
https://gitea.com/gitea/docs.git
synced 2026-06-11 12:41:27 +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 <yp05327@noreply.gitea.com> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: ifurther <55025025+ifurther@users.noreply.github.com> Co-committed-by: ifurther <55025025+ifurther@users.noreply.github.com>
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
|
||||
```
|
||||
|
||||
|
||||
@@ -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