Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

ci(dockerfile): set fix pnpm version

LinkinStars7a6e5061e5d7
diff --git a/Dockerfile b/Dockerfile
index 6278e1a5..bd5f8768 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -34,7 +34,7 @@ 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@latest \
+RUN apk --no-cache add build-base git bash nodejs npm && npm install -g [email protected] \
&& make clean build
RUN chmod 755 answer
diff --git a/Makefile b/Makefile
index 9da39bec..b64987b3 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,7 @@ clean:
install-ui-packages:
@corepack enable
- @corepack prepare pnpm@latest --activate
+ @corepack prepare [email protected] --activate
ui:
@cd ui && pnpm pre-install && pnpm build && cd -