Skip to content

Commit 4385256

Browse files
committed
add node 15.3.0 alpine
1 parent ab76d14 commit 4385256

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM node:15.3.0-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
12+
RUN yarn --version
13+
RUN tyarn --version

0 commit comments

Comments
 (0)