feat: enable Apache headers and rewrite module in Dockerfile; wrap header setting in .htaccess with IfModule check

This commit is contained in:
cindy
2026-06-14 09:41:39 +07:00
parent e3b8110497
commit 27ac23a5c0
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -1,5 +1,7 @@
FROM php:8.2-apache
RUN a2enmod headers rewrite
RUN docker-php-ext-install mysqli pdo pdo_mysql
COPY . /var/www/html/