We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96066f commit a2fb733Copy full SHA for a2fb733
Dockerfile
@@ -1,13 +1,14 @@
1
-FROM node:15.3.0-alpine
+FROM node:18.20.8-alpine
2
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
3
RUN apk --no-cache add ca-certificates
4
RUN apk --no-cache add -U tzdata
5
ENV TZ=Asia/Shanghai
6
7
-RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
8
-RUN cnpm install yarn tyarn -g
9
-
10
RUN npm version
11
-RUN cnpm version
+RUN npm install -g pnpm@latest-10
+
+RUN pnpm version
+RUN pnpm install yarn tyarn -g
12
13
RUN yarn --version
-RUN tyarn --version
14
+RUN tyarn --version
0 commit comments