Ver Fonte

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] há 1 dia atrás
pai
commit
4453cddd0c
1 ficheiros alterados com 2 adições e 0 exclusões
  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