From 15c91a57199dd15a6155fa4110efe4b4d7cb8084 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 13 Dec 2023 21:36:29 +0100 Subject: [PATCH] with chown not R --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 27850391..68aa24d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -80,5 +80,6 @@ RUN apt update -y && apt install -y COPY nginx.conf /etc/nginx/nginx.conf COPY --from=generate /usr/src/app/.output/public /usr/share/nginx/html # RUN chmod -R nginx:nginx /usr/share/nginx/html/ +RUN chown nginx:nginx /usr/share/nginx/html USER nginx CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file -- GitLab