ladogton2010 commited on
Commit
f22712f
·
1 Parent(s): b89292e
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -40,6 +40,8 @@ RUN cat /apache2/conf/httpd.conf
40
  RUN rm -rf /httpd-2.4.62
41
  RUN apt install -y locate
42
  RUN updatedb
 
 
43
  RUN rm /apache2/htdocs/index.html
44
  RUN apt install -y php php-xml php-sqlite3
45
  RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
@@ -49,6 +51,5 @@ RUN sed -i 's/Listen 80/Listen 7860/' /apache2/conf/httpd.conf
49
 
50
  # RUN which php-cgi;
51
  RUN which php
52
- RUN a2enmod php
53
  RUN locate index.php;
54
  CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
 
40
  RUN rm -rf /httpd-2.4.62
41
  RUN apt install -y locate
42
  RUN updatedb
43
+ RUN a2enmod php
44
+ RUN /apache2/bin/apachectl start
45
  RUN rm /apache2/htdocs/index.html
46
  RUN apt install -y php php-xml php-sqlite3
47
  RUN apt install -y libapache2-mod-php8.2 autoconf automake re2c bison
 
51
 
52
  # RUN which php-cgi;
53
  RUN which php
 
54
  RUN locate index.php;
55
  CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]