File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,9 @@ FROM node:20-alpine3.22 as build-stage
22WORKDIR /usr/src/app
33ARG DOCKER_TAG="latest"
44
5+ # updates pcre2 library to fix CVE-2025-58050 in alpine base image by updating it to at least 10.46-r0
6+ RUN apk update && apk upgrade pcre2>=10.46
7+
58RUN --mount=type=secret,id=env_vars \
69 cp /run/secrets/env_vars .env
710
@@ -25,6 +28,10 @@ RUN echo "{ \"version\": \"${DOCKER_TAG}\" }" > ./src/common/constants/release.j
2528RUN yarn build
2629
2730FROM nginx:alpine3.22
31+
32+ # updates pcre2 library to fix CVE-2025-58050 in alpine base image by updating it to at least 10.46-r0
33+ RUN apk update && apk upgrade pcre2>=10.46
34+
2835ENV NGINX_USER=svc_nginx_hmda
2936RUN apk update && apk upgrade
3037RUN rm -rf /etc/nginx/conf.d
You can’t perform that action at this time.
0 commit comments