Skip to content

Commit

Permalink
chore: pnpm lock version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mereithhh committed Apr 10, 2023
1 parent 354676b commit 85c5412
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install --global pnpm
- run: npm install --global pnpm@7.27.1
- name: 安装依赖
run: pnpm install

Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ WORKDIR /app
USER root
RUN apk add --update python3 make g++ && rm -rf /var/cache/apk/*
COPY ./packages/admin/ ./
RUN npm install --global pnpm
RUN npm install --global pnpm@7.27.1
RUN pnpm config set network-timeout 600000 -g
RUN pnpm config set registry https://registry.npmjs.org -g
RUN pnpm config set fetch-retries 20 -g
Expand All @@ -20,7 +20,7 @@ FROM node:18 as SERVER_BUILDER
ENV NODE_OPTIONS=--max_old_space_size=4096
WORKDIR /app
COPY ./packages/server/ .
RUN npm install --global pnpm
RUN npm install --global pnpm@7.27.1
RUN pnpm config set network-timeout 600000 -g
RUN pnpm config set registry https://registry.npmmirror.com -g
RUN pnpm config set fetch-retries 20 -g
Expand All @@ -33,7 +33,7 @@ FROM node:16-alpine AS WEBSITE_DEPS
# RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY ./packages/website/package.json ./packages/website/pnpm-lock.yaml* ./
RUN npm install --global pnpm
RUN npm install --global pnpm@7.27.1
RUN pnpm config set network-timeout 600000 -g
RUN pnpm config set registry https://registry.npmmirror.com -g
RUN pnpm config set fetch-retries 20 -g
Expand All @@ -51,7 +51,7 @@ ARG VAN_BLOG_BUILD_SERVER
ENV VAN_BLOG_SERVER_URL ${VAN_BLOG_BUILD_SERVER}
ARG VAN_BLOG_VERSIONS
ENV VAN_BLOG_VERSION ${VAN_BLOG_VERSIONS}
RUN npm install --global pnpm
RUN npm install --global pnpm@7.27.1
RUN pnpm config set network-timeout 600000 -g
RUN pnpm config set registry https://registry.npmmirror.com -g
RUN pnpm config set fetch-retries 20 -g
Expand All @@ -66,7 +66,7 @@ RUN apk add --no-cache --update tzdata caddy nss-tools \
&& cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
&& echo "Asia/Shanghai" > /etc/timezone \
&& apk del tzdata
RUN npm install --global pnpm
RUN npm install --global pnpm@7.27.1
RUN pnpm config set network-timeout 600000 -g
RUN pnpm config set registry https://registry.npmmirror.com -g
RUN pnpm config set fetch-retries 20 -g
Expand Down

0 comments on commit 85c5412

Please sign in to comment.