diff --git a/Dockerfile b/Dockerfile index b50488e1..86a8f502 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ---------- Base: Node.js 22 on UBI 9 ---------- -FROM registry.access.redhat.com/ubi9/ubi:9.7 AS node-base +FROM registry.access.redhat.com/ubi9/ubi:9.8 AS node-base RUN dnf module enable nodejs:22 -y && \ dnf install -y --nodocs nodejs npm && \ dnf clean all @@ -24,7 +24,7 @@ ENV NEXT_PUBLIC_APP_VERSION=${APP_VERSION} RUN echo "Building version: ${APP_VERSION} (${GIT_SHA})" && npm run build # ---------- Stage 3: Build minimal rootfs ---------- -FROM registry.access.redhat.com/ubi9/ubi:9.7 AS rootfs-builder +FROM registry.access.redhat.com/ubi9/ubi:9.8 AS rootfs-builder # Install only the shared libraries Node.js needs at runtime RUN mkdir -p /mnt/rootfs && \