Ver código fonte

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] 1 dia atrás
pai
commit
c427ea68c5
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      nginx-nodejs-redis/web/Dockerfile

+ 2 - 0
nginx-nodejs-redis/web/Dockerfile

@@ -3,6 +3,8 @@ FROM node:14.17.3-alpine3.14
 WORKDIR /usr/src/app
 
 COPY package.json package-lock.json ./
+COPY .npmrc .
+COPY .yarnrc.yml .
 RUN npm ci
 COPY ./server.js ./