Przeglądaj źródła

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] 22 godzin temu
rodzic
commit
4453cddd0c
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      react-express-mongodb/frontend/Dockerfile

+ 2 - 0
react-express-mongodb/frontend/Dockerfile

@@ -14,6 +14,8 @@ COPY package-lock.json /usr/src/app
 #RUN npm set progress=false \
 #    && npm config set depth 0 \
 #    && npm i install
+COPY .npmrc .
+COPY .yarnrc.yml .
 RUN npm ci
 
 # Get all the code needed to run the app