Skip to content

Commit

Permalink
add non-optional flag for npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcusk19 committed Jan 14, 2025
1 parent cfed3ac commit 3e421ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile.downstream
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ RUN npm run --quiet build
FROM registry.access.redhat.com/ubi8/nodejs-16:latest as build-ui
WORKDIR /opt/app-root
COPY --chown=1001:0 web/package.json web/package-lock.json ./
RUN npm clean-install
RUN npm clean-install --no-optional
COPY --chown=1001:0 web .
RUN npm run --quiet build

Expand Down

0 comments on commit 3e421ac

Please sign in to comment.