Skip to content

Commit

Permalink
Merge pull request #77 from pfeifferj/gh-76-ubi9-nodejs-18
Browse files Browse the repository at this point in the history
CONSOLE-4495: bump deprecated base image
  • Loading branch information
openshift-merge-bot[bot] authored Mar 4, 2025
2 parents 9bc2299 + 80e555a commit 6856ed2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: nodejs-16
name: nodejs-18
namespace: openshift
tag: latest
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM registry.access.redhat.com/ubi8/nodejs-16:latest AS build
FROM registry.access.redhat.com/ubi9/nodejs-18:latest AS build
USER root
RUN command -v yarn || npm i -g yarn

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-120:latest

COPY --from=build /usr/src/app/dist /usr/share/nginx/html
USER 1001
Expand Down

0 comments on commit 6856ed2

Please sign in to comment.