构建使用基础镜像
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

14 lines
488 B

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