Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Update the nginx image to the latest (#524)
Browse files Browse the repository at this point in the history
Addresses some security issues we were seeing from Trivy.
  • Loading branch information
ian-noaa authored Jul 12, 2024
2 parents 360a7a3 + 74a69cb commit 4efb473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules/
**/tmp

*.pyc
**/.env
4 changes: 2 additions & 2 deletions docker/webserver/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14 AS build
FROM node:18 AS build

WORKDIR /home/node/app

Expand All @@ -7,7 +7,7 @@ RUN npm clean-install
COPY src/unified_graphics/static/ src/unified_graphics/static/
RUN npm run vendor && npm run build

FROM nginxinc/nginx-unprivileged:1.24
FROM nginxinc/nginx-unprivileged:1.27

COPY --from=build /home/node/app/build /usr/share/nginx/html/static
COPY docker/webserver/default.conf.template /etc/nginx/templates/
Expand Down

0 comments on commit 4efb473

Please sign in to comment.