ladogton2010 commited on
Commit
9b42cca
·
1 Parent(s): 85dd4d2

apache 2 log

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -9,7 +9,7 @@ RUN cat /etc/apache2/sites-enabled/000-default.conf
9
  RUN cat /etc/apache2/ports.conf
10
  RUN apache2ctl -S
11
  RUN service apache2 start
12
- RUN chmod 777 -R /var/log/apache2/error.log; ls -la /var/log/apache2
13
  RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log
14
 
15
  CMD ["bash", "-c", "ls -la /var/log/apache2/error.log; service apache2 start; stail -F error.log"]
 
9
  RUN cat /etc/apache2/ports.conf
10
  RUN apache2ctl -S
11
  RUN service apache2 start
12
+ RUN chmod 777 -R /var/log/apache2; ls -la /var/log/apache2
13
  RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log
14
 
15
  CMD ["bash", "-c", "ls -la /var/log/apache2/error.log; service apache2 start; stail -F error.log"]