Surbao commited on
Commit
d729a23
·
verified ·
1 Parent(s): 6e373a4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -20,6 +20,8 @@ RUN chmod -R 777 /var/www
20
  RUN chown -R www-data:www-data /var/www/html \
21
  && chmod -R 777 /var/www/html/i
22
 
 
 
23
  RUN chown -R www:www /var/www/html
24
 
25
  RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf
 
20
  RUN chown -R www-data:www-data /var/www/html \
21
  && chmod -R 777 /var/www/html/i
22
 
23
+ RUN groupadd www && useradd -g www www
24
+
25
  RUN chown -R www:www /var/www/html
26
 
27
  RUN echo "ServerName localhost" >> /etc/apache2/apache2.conf