🐳 chore: Update Dockerfile.multi (#3528)

Upgrade nginx:1.21.1-alpine to nginx:1.27.0-alpine. Reduce Vulnerabilities report from 59 to 7 by Google image scan.
This commit is contained in:
Xueshan Feng 2024-08-04 03:43:07 -07:00 committed by GitHub
parent cd326c4cf0
commit 62854c91d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,6 +38,6 @@ ENV HOST=0.0.0.0
CMD ["node", "server/index.js"] CMD ["node", "server/index.js"]
# Nginx setup # Nginx setup
FROM nginx:1.21.1-alpine AS prod-stage FROM nginx:1.27.0-alpine AS prod-stage
COPY ./client/nginx.conf /etc/nginx/conf.d/default.conf COPY ./client/nginx.conf /etc/nginx/conf.d/default.conf
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]