Skip to content

Commit a2fb733

Browse files
committed
upgrade node 18.20.8
1 parent b96066f commit a2fb733

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Dockerfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
FROM node:15.3.0-alpine
1+
FROM node:18.20.8-alpine
22
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
33
RUN apk --no-cache add ca-certificates
44
RUN apk --no-cache add -U tzdata
55
ENV TZ=Asia/Shanghai
66

7-
RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
8-
RUN cnpm install yarn tyarn -g
9-
107
RUN npm version
11-
RUN cnpm version
8+
RUN npm install -g pnpm@latest-10
9+
10+
RUN pnpm version
11+
RUN pnpm install yarn tyarn -g
12+
1213
RUN yarn --version
13-
RUN tyarn --version
14+
RUN tyarn --version

0 commit comments

Comments
 (0)