Browse Source

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] 22 giờ trước cách đây
mục cha
commit
4453cddd0c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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