diff --git a/Dockerfile b/Dockerfile index ae34b7a..24b045c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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