dongzhaorui 1 жил өмнө
parent
commit
a26c35368e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      zbytb/Dockerfile

+ 1 - 1
zbytb/Dockerfile

@@ -21,7 +21,7 @@ RUN grep -qxF 'set encoding=utf8' /etc/virc || echo 'set encoding=utf8' >> /etc/
 
 WORKDIR /opt
 # 安装node, 更换npm源
-RUN curl -fsSL https://rpm.nodesource.com/setup_14.x | bash && yum -y install nodejs && npm config set registry https://registry.npm.taobao.org
+RUN curl -fsSL https://rpm.nodesource.com/setup_14.x | bash && yum -y install nodejs && npm config set registry http://registry.npmmirror.com
 
 # 安装 python3.8.10 gcc相关配置
 RUN yum --exclude=kernel* update -y && yum groupinstall -y 'Development Tools' && yum install -y gcc openssl-devel bzip2-devel libffi-devel gtk3 libXt glibc-common