fix: add COPY and EXPOSE 80 to Dockerfile

This commit is contained in:
2026-06-10 17:00:55 +07:00
parent a6df2be316
commit 9a6853f15f
+6
View File
@@ -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