Spaces:
Runtime error
Runtime error
Commit
·
3958ff9
1
Parent(s):
7d6aa21
root dir
Browse files- Dockerfile +8 -8
Dockerfile
CHANGED
|
@@ -26,16 +26,16 @@ RUN cat INSTALL
|
|
| 26 |
RUN echo ===================================================================
|
| 27 |
RUN echo
|
| 28 |
|
| 29 |
-
RUN ./configure --prefix=/
|
| 30 |
RUN make
|
| 31 |
RUN make install
|
| 32 |
# $HOME/apache
|
| 33 |
-
# /
|
| 34 |
|
| 35 |
-
RUN chmod 777 -R /
|
| 36 |
-
RUN ls -la /
|
| 37 |
-
RUN sed -i 's/Listen 80/Listen 7860/' /
|
| 38 |
-
RUN cat /
|
| 39 |
-
RUN /
|
| 40 |
|
| 41 |
-
CMD [ "bash","-c", "/
|
|
|
|
| 26 |
RUN echo ===================================================================
|
| 27 |
RUN echo
|
| 28 |
|
| 29 |
+
RUN ./configure --prefix=/apache2
|
| 30 |
RUN make
|
| 31 |
RUN make install
|
| 32 |
# $HOME/apache
|
| 33 |
+
# /apache2/conf/httpd.conf
|
| 34 |
|
| 35 |
+
RUN chmod 777 -R /apache2
|
| 36 |
+
RUN ls -la /apache2/bin
|
| 37 |
+
RUN sed -i 's/Listen 80/Listen 7860/' /apache2/conf/httpd.conf
|
| 38 |
+
RUN cat /apache2/conf/httpd.conf
|
| 39 |
+
RUN /apache2/bin/apachectl start
|
| 40 |
|
| 41 |
+
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|