From 7a28091935689dcc2e2b149cf95ca0dd025bd8d5 Mon Sep 17 00:00:00 2001 From: Karol Szwaj Date: Wed, 8 Apr 2026 17:11:14 +0200 Subject: [PATCH] bump node version in Dockerfile Signed-off-by: Karol Szwaj On-behalf-of: @SAP karol.szwaj@sap.com --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1b46eac84..6316c7af2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. # Use node:lts-alpine for better compatibility and smaller size -FROM node:20.18.0-alpine3.20 AS ui-build-env +FROM node:22-alpine AS ui-build-env WORKDIR /app # Install build dependencies needed for native modules @@ -23,10 +23,7 @@ RUN apk add --no-cache python3 make g++ COPY ./web/package*.json ./ COPY ./web/.npmrc ./ -RUN npm install - -# Install dependencies with specific flags to handle optional deps and architecture issues -RUN npm ci --prefer-offline --no-audit --no-fund --no-optional +RUN npm ci # Copy the Vue app files COPY ./web .