Add dockerfile and update config file

This commit is contained in:
muthianura
2026-06-11 18:56:34 +07:00
parent f104007f77
commit c66457e587
9 changed files with 83 additions and 19 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
RUN a2enmod rewrite
COPY . /var/www/html/
RUN chown -R www-data:www-data /var/www/html \
&& chmod -R 755 /var/www/html
EXPOSE 80