update docker/Dockerfile.

`npm install pnpm@7.30.0 -g` 修改为`npm install pnpm -g`指定7.30.0 版本导致出现ERR_INVALID_THIS异常,node版本过新与旧版pnpm不兼容

Signed-off-by: Willis <569869783@qq.com>
This commit is contained in:
Willis 2023-11-10 06:38:21 +00:00 committed by Gitee
parent fadbd35b44
commit 5dde1b97b7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ RUN export BUNDLE_FFMPEG=${BUNDLE_FFMPEG:-true} \
\
&& _NPM_MIRROR_FLAG="" \
&& if [ "$USE_NPM_MIRROR"x = "true"x ]; then _NPM_MIRROR_FLAG="--registry=https://registry.npmmirror.com"; fi \
&& npm install pnpm@7.30.0 -g $_NPM_MIRROR_FLAG \
&& npm install pnpm -g $_NPM_MIRROR_FLAG \
\
&& ((test "$BUNDLE_POETRY"x = "true"x \
&& apt-get update \