From 76917cc1f3a01470a7525928d0a8826fd1e5443c Mon Sep 17 00:00:00 2001 From: arabbiguti Date: Thu, 11 Jun 2026 16:39:38 +0700 Subject: [PATCH] coba docker --- Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5e38144 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM php:8.2-apache + +# Aktifkan mod_rewrite +RUN a2enmod rewrite + +# Copy semua file proyek ke webroot Apache +COPY . /var/www/html/ + +# Izin folder api +RUN chown -R www-data:www-data /var/www/html/api + +EXPOSE 80 \ No newline at end of file