This commit is contained in:
@ -44,7 +44,7 @@ RUN echo "安装 node 环境" && \
|
||||
# (echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> /root/.bashrc && \
|
||||
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && \
|
||||
apt-get update && \
|
||||
apt-get install nodejs npm && \
|
||||
apt-get install -y nodejs npm && \
|
||||
node -V && \
|
||||
npm -V && \
|
||||
npm install -g n && \
|
||||
|
Reference in New Issue
Block a user