Skip to content

Commit

Permalink
Update Dockerfile to use Alpine 3.20.3 and Node.js 18.20.4-alpine3.20
Browse files Browse the repository at this point in the history
  • Loading branch information
raikbitters committed Sep 10, 2024
1 parent 6bb48a2 commit 7f0bb50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# 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
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/
Expand Down

0 comments on commit 7f0bb50

Please sign in to comment.