Skip to content

Commit

Permalink
Dockerfile build tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Aug 13, 2024
1 parent cb8b7f8 commit 09a2047
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ FROM registry.access.redhat.com/ubi9/nodejs-18:1-118 as builder

USER 1001
COPY --chown=1001 . .
RUN npm clean-install --ignore-scripts && npm run build && npm run dist
RUN npm version && \
npm clean-install --verbose --ignore-scripts && \
npm run build && \
npm run dist

# Runner image
FROM registry.access.redhat.com/ubi9/nodejs-18-minimal:1-123
Expand Down

0 comments on commit 09a2047

Please sign in to comment.