diff --git a/Dockerfile b/Dockerfile index 4f9eaeb..e5450d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,10 @@ -FROM dunglas/frankenphp:latest -RUN install-php-extensions pdo_mysql mysqli +FROM php:8.2-apache +# Installeer MariaDB/MySQL drivers +RUN docker-php-ext-install pdo pdo_mysql mysqli + +# Activeer Apache mod_rewrite voor schone URL's +RUN a2enmod rewrite + +# Zorg dat Apache op poort 80 luistert +EXPOSE 80 \ No newline at end of file