Explorar el Código

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] hace 1 día
padre
commit
4453cddd0c
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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