From 2d10628fa45d5a46f191aafeac8372fb55e5cb3e Mon Sep 17 00:00:00 2001
From: Cyril L'Orphelin <cyril.lorphelin@cc.in2p3.fr>
Date: Mon, 10 Feb 2020 16:04:10 +0100
Subject: [PATCH] MAJ dockerfile

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index a3e2f5ec..d0bc3cb4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -61,7 +61,7 @@ RUN adduser nginx
 RUN addgroup nginx root
 RUN mkdir /var/cache/nginx
 RUN mkdir -p /var/lib/nginx/fastcgi
-RUN chmod  ugo+w  /var/cache/nginx  /var/log/nginx /var/lib/nginx
+RUN chmod  ugo+w  /var/cache/nginx  /var/log/nginx /var/lib/nginx /usr/share/nginx /var/log/nginx/error.log
 
 USER nginx
 # support running as arbitrary user which belongs to the root group
-- 
GitLab