From 9a6853f15f69bb5a4204da63a53f85ab9028ef8c Mon Sep 17 00:00:00 2001 From: MAGHFIRA IZZATI Date: Wed, 10 Jun 2026 17:00:55 +0700 Subject: [PATCH] fix: add COPY and EXPOSE 80 to Dockerfile --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 1be9289..325cb7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,5 +6,11 @@ RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli # Aktifkan mod_rewrite Apache (berguna untuk URL yang bersih/routing) RUN a2enmod rewrite +# Copy semua file project ke dalam container +COPY . /var/www/html/ + # Update permissions RUN chown -R www-data:www-data /var/www/html + +# Expose port Apache +EXPOSE 80