Spaces:
Runtime error
Runtime error
Commit
·
025ac30
1
Parent(s):
cf7a30b
Added config for htaccess
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -90,6 +90,9 @@ RUN echo "</FilesMatch>" >> /home/user/apache2/conf/httpd.conf
|
|
90 |
RUN which php
|
91 |
RUN updatedb
|
92 |
RUN locate index.php;
|
|
|
|
|
|
|
93 |
USER user
|
94 |
COPY .htaccess /home/user/apache2/htdocs/
|
95 |
COPY app /home/user/apache2/htdocs/app
|
|
|
90 |
RUN which php
|
91 |
RUN updatedb
|
92 |
RUN locate index.php;
|
93 |
+
RUN echo <Directory /home/user/apache2/htdocs> >> /etc/apache2/sites-available/000-default.conf
|
94 |
+
RUN echo AllowOverride All >> /etc/apache2/sites-available/000-default.conf
|
95 |
+
RUN echo </Directory> >> /etc/apache2/sites-available/000-default.conf
|
96 |
USER user
|
97 |
COPY .htaccess /home/user/apache2/htdocs/
|
98 |
COPY app /home/user/apache2/htdocs/app
|