ladogton2010 commited on
Commit
4c58156
·
1 Parent(s): cfe396e

show services

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -16,9 +16,9 @@ RUN a2enmod rewrite env cache setenvif unique_id authz_host cgi ext_filter heade
16
  RUN echo "<Directory /var/www/html>" >> /etc/apache2/apache2.conf
17
  RUN echo " AllowOverride All" >> /etc/apache2/apache2.conf
18
  RUN echo "</Directory>" >> /etc/apache2/apache2.conf
19
- RUN service --status-all
20
  RUN service apache2 start
21
- RUN service php8.2-fpm start && service php8.2-fpm stop
 
22
  RUN chmod 777 -R /var/log/apache2 /var/run/apache2; ls -la /var/log/apache2
23
  RUN rm -rf /var/www/html/index.html
24
  RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log
 
16
  RUN echo "<Directory /var/www/html>" >> /etc/apache2/apache2.conf
17
  RUN echo " AllowOverride All" >> /etc/apache2/apache2.conf
18
  RUN echo "</Directory>" >> /etc/apache2/apache2.conf
 
19
  RUN service apache2 start
20
+ RUN service php8.2-fpm start
21
+ RUN service --status-all
22
  RUN chmod 777 -R /var/log/apache2 /var/run/apache2; ls -la /var/log/apache2
23
  RUN rm -rf /var/www/html/index.html
24
  RUN chmod 777 /var/log/apache2/error.log; ls -la /var/log/apache2/error.log