This commit is contained in:
Monarch055
2026-06-10 22:42:58 +07:00
parent 7ad037bf0a
commit 2a0bb3d637
7 changed files with 182 additions and 8 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM php:8.2-apache
# Install PDO MySQL extension for database connectivity
RUN docker-php-ext-install pdo pdo_mysql
# Enable Apache rewrite module
RUN a2enmod rewrite
# Increase request header field size limit to prevent "Size of a request header field exceeds server limit"
RUN echo "LimitRequestFieldSize 65536" >> /etc/apache2/apache2.conf
# Set working directory
WORKDIR /var/www/html
# Expose port 80
EXPOSE 80