Skip to content

Commit 8eb724b

Browse files
committed
fix: docker: install: -f
1 parent 784bb2e commit 8eb724b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /usr/src/app
88
COPY package.json /usr/src/app/
99

1010
RUN npm config set package-lock false && \
11-
npm install --production && \
11+
npm install --production -f && \
1212
npm i gritty && \
1313
npm cache clean --force
1414

docker/Dockerfile.alpine

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ WORKDIR /usr/src/app
88
COPY package.json /usr/src/app/
99

1010
RUN npm config set package-lock false && \
11-
npm install --production && \
11+
npm install --production -f && \
1212
apk update && \
1313
apk add --no-cache bash make g++ python3 && \
1414
npm i gritty && \

0 commit comments

Comments
 (0)