Update Docker deployment and database config

This commit is contained in:
2026-06-11 12:10:50 +07:00
parent 7e2d324c2e
commit de887bab3e
5 changed files with 16 additions and 9 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& a2enmod rewrite
&& a2enmod rewrite \
&& echo "ServerName localhost" >> /etc/apache2/apache2.conf
COPY . /var/www/html/
RUN mkdir -p /var/www/html/05/uploads/bukti \
&& chown -R www-data:www-data /var/www/html
EXPOSE 80