Spaces:
Runtime error
Runtime error
Commit
·
5af37d0
1
Parent(s):
63caa20
No error on locate
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -40,10 +40,10 @@ RUN cat /apache2/conf/httpd.conf
|
|
| 40 |
RUN rm -rf /httpd-2.4.62
|
| 41 |
RUN apt install -y locate
|
| 42 |
RUN updatedb
|
| 43 |
-
RUN locate a2enmod
|
| 44 |
RUN rm /apache2/htdocs/index.html
|
| 45 |
RUN apt install -y php php-xml php-sqlite3
|
| 46 |
RUN apt install -y libapache2-mod-php autoconf automake re2c bison
|
| 47 |
COPY index.php /apache2/htdocs/index.php
|
| 48 |
COPY test.html /apache2/htdocs/test.html
|
|
|
|
| 49 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|
|
|
|
| 40 |
RUN rm -rf /httpd-2.4.62
|
| 41 |
RUN apt install -y locate
|
| 42 |
RUN updatedb
|
|
|
|
| 43 |
RUN rm /apache2/htdocs/index.html
|
| 44 |
RUN apt install -y php php-xml php-sqlite3
|
| 45 |
RUN apt install -y libapache2-mod-php autoconf automake re2c bison
|
| 46 |
COPY index.php /apache2/htdocs/index.php
|
| 47 |
COPY test.html /apache2/htdocs/test.html
|
| 48 |
+
RUN locate a2enmod;
|
| 49 |
CMD [ "bash","-c", "/apache2/bin/apachectl start; curl localhost:7860; tail -F error.log" ]
|