From 09a2047c769b25072fbf0b0a7b36f5fe2d08b8a6 Mon Sep 17 00:00:00 2001 From: Scott J Dickerson Date: Fri, 9 Aug 2024 14:14:26 -0400 Subject: [PATCH] Dockerfile build tweaks Signed-off-by: Scott J Dickerson --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 79001f3d87..2b2d4f4724 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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