Browse Source

dockerfile 增加对nodejs对处理

luojunhui 1 month ago
parent
commit
4b238580d4
1 changed files with 1 additions and 1 deletions
  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/*