浏览代码

ci: enforce ignore-scripts policy for Node package managers

securityeng-bot[bot] 1 天之前
父节点
当前提交
079e77c5fe
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      react-java-mysql/frontend/Dockerfile

+ 2 - 0
react-java-mysql/frontend/Dockerfile

@@ -6,6 +6,8 @@ WORKDIR /code
 COPY package.json /code/package.json
 COPY package-lock.json /code/package-lock.json
 
+COPY .npmrc .
+COPY .yarnrc.yml .
 RUN npm ci
 COPY . /code