This commit is contained in:
@ -37,7 +37,7 @@ RUN echo "安装基础工具与配置文件" && \
|
|||||||
|
|
||||||
# 安装 node 环境
|
# 安装 node 环境
|
||||||
echo "安装 node 环境" && \
|
echo "安装 node 环境" && \
|
||||||
apt-get install -y nodejs npm && \
|
apt-get install -y npm && \
|
||||||
# 安装 nrm
|
# 安装 nrm
|
||||||
npm install -g nrm --registry=http://registry.npmmirror.com && \
|
npm install -g nrm --registry=http://registry.npmmirror.com && \
|
||||||
nrm use taobao && \
|
nrm use taobao && \
|
||||||
|
Reference in New Issue
Block a user