Explorar el Código

ci: enforce ignore-scripts policy for Node package managers

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