ci(dockerfile): update pnpm version

This commit is contained in:
LinkinStars 2023-09-25 16:27:21 +08:00
parent 2a1c2e21fd
commit c1723f1a44
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@ ARG CGO_EXTRA_CFLAGS
COPY . ${BUILD_DIR}
WORKDIR ${BUILD_DIR}
RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm corepack \
&& make install-ui-packages clean build
RUN apk --no-cache add build-base git bash nodejs npm && npm install -g pnpm@latest \
&& make clean build
RUN chmod 755 answer
RUN ["/bin/bash","-c","script/build_plugin.sh"]

View File

@ -38,7 +38,7 @@ clean:
install-ui-packages:
@corepack enable
@corepack prepare pnpm@v8.6.6 --activate
@corepack prepare pnpm@latest --activate
ui:
@cd ui && pnpm install && pnpm build && cd -