Sfoglia il codice sorgente

Chown the sharelatex directory to www-data

Shane Kilkelly 8 anni fa
parent
commit
9091749448
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      server-ce/Dockerfile

+ 2 - 1
server-ce/Dockerfile

@@ -44,7 +44,8 @@ RUN cd /var/www/sharelatex/web; \
 	grunt compile:minify;
 
 RUN cd /var/www/sharelatex/clsi; \
-	grunt compile:bin
+	grunt compile:bin; \
+	chown -R www-data:www-data /var/www/sharelatex;
 
 EXPOSE 80