瀏覽代碼

dockerfile 增加对nodejs对处理

luojunhui 3 月之前
父節點
當前提交
4b238580d4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -11,7 +11,7 @@ ENV NVM_DIR=/root/.nvm
 RUN apt-get update && apt-get install -y curl gnupg ca-certificates \
     && curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
     && apt-get install -y nodejs \
-    && npm install -g jsdom \
+    && npm install jsdom \
     && apt-get clean \
     && rm -rf /var/lib/apt/lists/*