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