Skip to content

Commit

Permalink
Issue #738: update nginx layer to 1.25.3 to remove libx11 high vulner…
Browse files Browse the repository at this point in the history
…ability
  • Loading branch information
danielecalda committed Nov 24, 2023
1 parent e36f039 commit 6ad45e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js-packages/admin-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yarn install --frozen-lockfile
RUN NODE_ENV=production yarn build

# Stage 2 - the production environment
FROM nginx:alpine
FROM nginx:1.25.3
COPY ./js-packages/admin-ui/nginx.conf /etc/nginx/conf.d/default.conf
RUN mkdir -p /usr/share/nginx/html/admin/
COPY --from=react-build /app/build /usr/share/nginx/html/admin/
Expand Down
2 changes: 1 addition & 1 deletion js-packages/search-frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /app/js-packages/search-frontend
RUN NODE_ENV=production yarn build

# Stage 2 - the production environment
FROM nginx:alpine
FROM nginx:1.25.3
COPY ./js-packages/search-frontend/nginx.conf /etc/nginx/conf.d/default.conf
RUN mkdir -p /usr/share/nginx/html/
COPY --from=react-build /app/js-packages/search-frontend/dist /usr/share/nginx/html/
Expand Down
2 changes: 1 addition & 1 deletion js-packages/tenant-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN yarn install --frozen-lockfile
RUN NODE_ENV=production yarn build

# Stage 2 - the production environment
FROM nginx:alpine
FROM nginx:1.25.3
COPY ./js-packages/tenant-ui/nginx.conf /etc/nginx/conf.d/default.conf
RUN mkdir -p /usr/share/nginx/html/admin/
COPY --from=react-build /app/build /usr/share/nginx/html/admin/
Expand Down

0 comments on commit 6ad45e6

Please sign in to comment.