mirror of
https://github.com/docker/awesome-compose.git
synced 2026-06-30 18:40:32 +02:00
ci: add ignore-scripts to Node package manager config (20260526-184008) (#748)
* ci: enforce ignore-scripts policy for Node package managers --------- Co-authored-by: securityeng-bot[bot] <219863240+securityeng-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ff1266720e
commit
662dfc07d1
@@ -7,6 +7,8 @@ WORKDIR /usr/src/app
|
||||
|
||||
COPY package.json /usr/src/app/package.json
|
||||
COPY package-lock.json /usr/src/app/package-lock.json
|
||||
COPY .npmrc .
|
||||
COPY .yarnrc.yml .
|
||||
RUN npm ci
|
||||
|
||||
COPY . /usr/src/app
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user