add upgrade packages to Dockerfile
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 22s
All checks were successful
trivy-scan-image / trivy_image_scan (push) Successful in 22s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user