构建docker镜像时指定pnpm版本 (#80)

This commit is contained in:
chomoe 2023-04-25 15:28:26 +08:00 committed by GitHub
parent 23b194c6a7
commit 4dacee305b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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="" \ && _NPM_MIRROR_FLAG="" \
&& if [ "$USE_NPM_MIRROR"x = "true"x ]; then _NPM_MIRROR_FLAG="--registry=https://registry.npmmirror.com"; fi \ && if [ "$USE_NPM_MIRROR"x = "true"x ]; then _NPM_MIRROR_FLAG="--registry=https://registry.npmmirror.com"; fi \
&& npm install pnpm -g $_NPM_MIRROR_FLAG \ && npm install pnpm@7.30.0 -g $_NPM_MIRROR_FLAG \
\ \
&& ((test "$BUNDLE_POETRY"x = "true"x \ && ((test "$BUNDLE_POETRY"x = "true"x \
&& apt-get update \ && apt-get update \