ladogton2010 commited on
Commit
465fe83
·
1 Parent(s): bb3d60b

locate e2enmod

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -40,9 +40,10 @@ 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 locate index.html
44
  RUN rm /apache2/htdocs/index.html
45
  RUN apt install -y php php-xml php-sqlite3
 
46
  COPY index.php /apache2/htdocs/index.php
47
  COPY test.html /apache2/htdocs/test.html
48
  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 locate a2enmod
44
  RUN rm /apache2/htdocs/index.html
45
  RUN apt install -y php php-xml php-sqlite3
46
+ RUN apt install -y libapache2-mod-php
47
  COPY index.php /apache2/htdocs/index.php
48
  COPY test.html /apache2/htdocs/test.html
49
  CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]