Spaces:
Runtime error
Runtime error
Commit
·
bd15aee
1
Parent(s):
560daf7
index.php
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -77,7 +77,7 @@ RUN apt install -y php-xml php-sqlite3
|
|
77 |
|
78 |
COPY index.php /home/user/apache2/htdocs/index.php
|
79 |
COPY test.html /home/user/apache2/htdocs/test.html
|
80 |
-
|
81 |
RUN echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
82 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
83 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|
|
|
77 |
|
78 |
COPY index.php /home/user/apache2/htdocs/index.php
|
79 |
COPY test.html /home/user/apache2/htdocs/test.html
|
80 |
+
RUN sed -i 's/DirectoryIndex index.html/DirectoryIndex index.php index.html/' /home/user/apache2/conf/httpd.conf
|
81 |
RUN echo "LoadModule php_module modules/libphp.so" >> /home/user/apache2/conf/httpd.conf
|
82 |
RUN echo "" >> /home/user/apache2/conf/httpd.conf
|
83 |
RUN echo "<FilesMatch \.php$>" >> /home/user/apache2/conf/httpd.conf
|