diff --git a/Dockerfile b/Dockerfile index 456d949..1542911 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS build +FROM registry.access.redhat.com/ubi9/nodejs-20-minimal:latest AS build USER root RUN command -v yarn || npm i -g yarn @@ -6,9 +6,9 @@ ADD . /usr/src/app WORKDIR /usr/src/app RUN yarn install && yarn build -FROM registry.access.redhat.com/ubi8/nginx-120:latest +FROM registry.access.redhat.com/ubi9/nginx-124:latest COPY --from=build /usr/src/app/dist /usr/share/nginx/html USER 1001 -ENTRYPOINT ["nginx", "-g", "daemon off;"] \ No newline at end of file +ENTRYPOINT ["nginx", "-g", "daemon off;"]