diff --git a/node/14/Dockerfile b/node/14/Dockerfile new file mode 100644 index 0000000..7ad02ea --- /dev/null +++ b/node/14/Dockerfile @@ -0,0 +1,14 @@ +FROM node:14-alpine + +LABEL maintainer="Loong" + +# 更换软件源 +RUN cp -a /etc/apk/repositories /etc/apk/repositories.bak \ + && sed -i "s@http://dl-cdn.alpinelinux.org/@https://mirrors.huaweicloud.com/@g" /etc/apk/repositories \ + && apk update \ + && apk add tzdata \ + && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \ + && echo "Asia/Shanghai" > /etc/timezone \ + && apk del tzdata + && npm config set registry=http://10.8.30.22:7000 + \ No newline at end of file