Browse Source

add node14 dockerfile

Signed-off-by: 凌文龙 <dragon@noreply.gitea.free-sun.vip>
main
凌文龙 3 years ago
parent
commit
754adac37d
  1. 14
      node/14/Dockerfile

14
node/14/Dockerfile

@ -0,0 +1,14 @@
FROM node:14-alpine
LABEL maintainer="Loong<ling.wenlong@free-sun.com.cn>"
# 更换软件源
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