Skip to content

Commit 7a28091

Browse files
committed
bump node version in Dockerfile
Signed-off-by: Karol Szwaj <karol.szwaj@gmail.com> On-behalf-of: @SAP karol.szwaj@sap.com
1 parent 4f9f1bb commit 7a28091

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Use node:lts-alpine for better compatibility and smaller size
16-
FROM node:20.18.0-alpine3.20 AS ui-build-env
16+
FROM node:22-alpine AS ui-build-env
1717
WORKDIR /app
1818

1919
# Install build dependencies needed for native modules
@@ -23,10 +23,7 @@ RUN apk add --no-cache python3 make g++
2323
COPY ./web/package*.json ./
2424
COPY ./web/.npmrc ./
2525

26-
RUN npm install
27-
28-
# Install dependencies with specific flags to handle optional deps and architecture issues
29-
RUN npm ci --prefer-offline --no-audit --no-fund --no-optional
26+
RUN npm ci
3027

3128
# Copy the Vue app files
3229
COPY ./web .

0 commit comments

Comments
 (0)