Explorar el Código

dockerfile 增加对nodejs对处理

luojunhui hace 3 meses
padre
commit
4b238580d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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/*