Sfoglia il codice sorgente

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] 1 giorno fa
parent
commit
4453cddd0c
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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