"Deploy readiness: Root Dockerfile & DB Env"

This commit is contained in:
2026-06-10 19:08:58 +07:00
parent 61f4fb2e71
commit 86a69597d9
3 changed files with 14 additions and 22 deletions
-12
View File
@@ -1,12 +0,0 @@
FROM php:8.2-apache
RUN docker-php-ext-install mysqli pdo pdo_mysql \
&& a2enmod rewrite
COPY . /var/www/html/
RUN mkdir -p /var/www/html/uploads/bukti \
&& mkdir -p /var/www/html/uploads/foto_laporan \
&& mkdir -p /var/www/html/uploads/foto_profil \
&& chown -R www-data:www-data /var/www/html/uploads \
&& chown -R www-data:www-data /var/www/html