Spaces:
Runtime error
Runtime error
Commit
·
9256542
1
Parent(s):
ebf9733
apache test
Browse files- Dockerfile +2 -0
- index.html +1 -0
- index.php +1 -0
Dockerfile
CHANGED
@@ -40,4 +40,6 @@ RUN cat /apache2/conf/httpd.conf
|
|
40 |
RUN apt install -y locate
|
41 |
RUN updatedb
|
42 |
RUN locate index.html
|
|
|
|
|
43 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
|
|
40 |
RUN apt install -y locate
|
41 |
RUN updatedb
|
42 |
RUN locate index.html
|
43 |
+
RUN rm /apache2/htdocs/index.html
|
44 |
+
COPY index.html /apache2/htdocs/index.html
|
45 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
index.html
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
hola
|
index.php
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
hola
|