|
@@ -22,7 +22,7 @@ ENV DBUS_SESSION_BUS_ADDRESS=/dev/null
|
|
# 开发环境安装
|
|
# 开发环境安装
|
|
WORKDIR /opt
|
|
WORKDIR /opt
|
|
# 安装node, 更换npm源
|
|
# 安装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
|
|
# 设置全局NODE_PATH
|
|
# 设置全局NODE_PATH
|
|
ENV NODE_PATH="/usr/lib/node_modules"
|
|
ENV NODE_PATH="/usr/lib/node_modules"
|
|
|
|
|