This commit is contained in:
2026-05-04 00:01:15 -04:00
parent c4db1f7b06
commit 5871ab0717
2 changed files with 1 additions and 2 deletions
-2
View File
@@ -1,2 +0,0 @@
Options -Indexes
ServerSignature Off
+1
View File
@@ -7,5 +7,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY . /var/www/html COPY . /var/www/html
RUN rm -f /var/www/html/index.html RUN rm -f /var/www/html/index.html
RUN sed -i 's/AllowOverride None/AllowOverride All/g' /etc/apache2/apache2.conf
EXPOSE 80 EXPOSE 80
CMD ["apache2ctl", "-D", "FOREGROUND"] CMD ["apache2ctl", "-D", "FOREGROUND"]