diff --git a/Dockerfile b/Dockerfile index b8d4488..9c8f8b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 && \