소스 검색

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/*