From 600b924f54f975eef83416562f1a53aca47c5405 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 13 Dec 2023 18:24:49 +0100 Subject: [PATCH] no chown --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 71e10303..27850391 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,6 +79,6 @@ FROM nginx:1.25-bookworm 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 chmod -R nginx:nginx /usr/share/nginx/html/ USER nginx CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file -- GitLab