From be147729684749ce5e5ded9ddbf9a1c1969c306a Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Wed, 13 Dec 2023 18:00:08 +0100 Subject: [PATCH] Try with a chown --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index aaef0d32..71e10303 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,5 +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 USER nginx CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file -- GitLab