add upgrade packages to Dockerfile
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 22s

This commit is contained in:
2026-02-04 23:10:30 +01:00
parent c1956db12b
commit 0759a04611

View File

@@ -2,6 +2,8 @@ FROM nginxinc/nginx-unprivileged:stable-alpine-slim
LABEL authors="tebarius"
LABEL description="nginx_with_404_and_502_games"
COPY ./games /usr/share/nginx/html
USER root
RUN apk upgrade --no-cache
USER nginx
COPY ./games /usr/share/nginx/html