提交 4e10a249 编写于 作者: 麦壳饼's avatar 麦壳饼

修正 淘宝 的npm镜像链接为 registry.npmmirror.com

上级 1ce1ea2e
......@@ -44,7 +44,7 @@ RUN KEYRING=/usr/share/keyrings/nodesource.gpg && curl -fsSL https://deb.nodesou
apt-get -y -q update && \
apt-get install -y nodejs && \
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
npm config set registry https://registry.npm.taobao.org && \
npm config set registry https://registry.npmmirror.com && \
export NODE_OPTIONS=--openssl-legacy-provider && \
apt-get autoremove -y && apt-get clean && apt-get autoclean && rm /var/cache/apt/* -rf
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册