Spaces:
Runtime error
Runtime error
Commit
·
d7a25dd
1
Parent(s):
60b156f
php
Browse files- Dockerfile +1 -1
- index.php +3 -1
Dockerfile
CHANGED
@@ -42,6 +42,6 @@ RUN apt install -y locate
|
|
42 |
RUN updatedb
|
43 |
RUN locate index.html
|
44 |
RUN rm /apache2/htdocs/index.html
|
45 |
-
COPY index.
|
46 |
COPY test.html /apache2/htdocs/test.html
|
47 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
|
|
42 |
RUN updatedb
|
43 |
RUN locate index.html
|
44 |
RUN rm /apache2/htdocs/index.html
|
45 |
+
COPY index.php /apache2/htdocs/index.php
|
46 |
COPY test.html /apache2/htdocs/test.html
|
47 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
index.php
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
echo "hola";
|
3 |
+
?>
|