Skip to content

Commit bb84de4

Browse files
committed
Enforce npm strict engine
1 parent 698e562 commit bb84de4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM --platform=${BUILDPLATFORM} docker.io/library/node:${NODEJS_VERSION}-${DEBI
2424

2525
WORKDIR /app/frontend
2626

27-
COPY ./frontend/package.json ./frontend/package-lock.json /app/frontend/
27+
COPY ./frontend/.npmrc ./frontend/package.json ./frontend/package-lock.json /app/frontend/
2828
# Network access: to fetch dependencies
2929
RUN --network=default \
3030
npm ci

frontend/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

0 commit comments

Comments
 (0)