ladogton2010 commited on
Commit
e8b37ac
·
1 Parent(s): 1dc951b
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -20,5 +20,6 @@ RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log
20
 
21
  COPY mvc /var/www/html/
22
  RUN ls -la /var/www/html/
 
23
 
24
  CMD ["bash", "-c", "whoami; id; cat /etc/apache2/sites-enabled/000-default.conf; service apache2 start; tail -F /var/log/apache2/error.log"]
 
20
 
21
  COPY mvc /var/www/html/
22
  RUN ls -la /var/www/html/
23
+ USER root
24
 
25
  CMD ["bash", "-c", "whoami; id; cat /etc/apache2/sites-enabled/000-default.conf; service apache2 start; tail -F /var/log/apache2/error.log"]