|
@@ -1,4 +1,4 @@
|
|
|
-FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS build
|
|
|
|
|
|
|
+FROM registry.access.redhat.com/ubi9/nodejs-18:latest AS build
|
|
|
USER root
|
|
USER root
|
|
|
RUN command -v yarn || npm i -g yarn
|
|
RUN command -v yarn || npm i -g yarn
|
|
|
|
|
|
|
@@ -6,7 +6,7 @@ ADD . /usr/src/app
|
|
|
WORKDIR /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
RUN yarn install && yarn build
|
|
RUN yarn install && yarn build
|
|
|
|
|
|
|
|
-FROM registry.access.redhat.com/ubi8/nginx-120:latest
|
|
|
|
|
|
|
+FROM registry.access.redhat.com/ubi9/nginx-120:latest
|
|
|
|
|
|
|
|
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
|
|
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
|
|
|
USER 1001
|
|
USER 1001
|