From 7f0bb508deb49a3504d7e66e2a3d0f48e5d196e9 Mon Sep 17 00:00:00 2001 From: Reingold Shekhtel Date: Tue, 10 Sep 2024 13:54:16 +0200 Subject: [PATCH] Update Dockerfile to use Alpine 3.20.3 and Node.js 18.20.4-alpine3.20 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ae8ea06dfa..4f62edf915 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Only for technical/build aims, built image will be with nginxinc/nginx-unprivileged:alpine according to the last step -FROM --platform=$BUILDPLATFORM alpine:3.16.2 AS generate-build-info +FROM --platform=$BUILDPLATFORM alpine:3.20.3 AS generate-build-info RUN mkdir -p /usr/src/app/build WORKDIR /usr/src ARG APP_VERSION=develop @@ -8,7 +8,7 @@ ARG BUILD_BRANCH ARG BUILD_DATE RUN echo {\"build\": { \"version\": \"${APP_VERSION}\", \"branch\": \"${BUILD_BRANCH}\", \"build_date\": \"${BUILD_DATE}\", \"name\": \"Service UI\", \"repo\": \"reportportal/service-ui\"}} > ./app/build/buildInfo.json -FROM --platform=$BUILDPLATFORM node:14-alpine AS build-frontend +FROM --platform=$BUILDPLATFORM node:18.20.4-alpine3.20 AS build-frontend RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY ./app/ /usr/src/app/