add docker

This commit is contained in:
azgrey
2026-06-11 17:13:23 +07:00
parent 5471855aa1
commit bd1be07542
+15
View File
@@ -0,0 +1,15 @@
FROM php:8.2-apache
# Enable Apache mod_rewrite
RUN a2enmod rewrite
# Install MySQL PDO extension
RUN docker-php-ext-install pdo pdo_mysql
# Copy project files to Apache web root
COPY . /var/www/html/
# Set permissions
RUN chown -R www-data:www-data /var/www/html
EXPOSE 80