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