Skip to content

Commit

Permalink
Bump container base images to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
evanstoner committed Oct 15, 2024
1 parent 37080a4 commit df76f49
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
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

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;"]
ENTRYPOINT ["nginx", "-g", "daemon off;"]

0 comments on commit df76f49

Please sign in to comment.