Spaces:
Running
Running
Commit
·
ee911f6
1
Parent(s):
4f4153f
permission to apache log
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -7,8 +7,8 @@ RUN sed -i 's/Listen 80/Listen 8080/g' /etc/apache2/ports.conf
|
|
7 |
RUN sed -i 's/:80/:8080/g' /etc/apache2/sites-enabled/000-default.conf
|
8 |
RUN cat /etc/apache2/sites-enabled/000-default.conf
|
9 |
RUN cat /etc/apache2/ports.conf
|
10 |
-
RUN chmod 777 /var/log/apache2/error.log; : listo
|
11 |
RUN apache2ctl -S
|
12 |
RUN service apache2 start
|
|
|
13 |
|
14 |
CMD ["bash", "-c", "apache2ctl -S;service apache2 start; stail -F error.log"]
|
|
|
7 |
RUN sed -i 's/:80/:8080/g' /etc/apache2/sites-enabled/000-default.conf
|
8 |
RUN cat /etc/apache2/sites-enabled/000-default.conf
|
9 |
RUN cat /etc/apache2/ports.conf
|
|
|
10 |
RUN apache2ctl -S
|
11 |
RUN service apache2 start
|
12 |
+
RUN chmod 777 /var/log/apache2/error.log; : listo
|
13 |
|
14 |
CMD ["bash", "-c", "apache2ctl -S;service apache2 start; stail -F error.log"]
|