build: update Dockerfile to use php:8.2-apache and install necessary extensions

This commit is contained in:
2026-09-08 13:54:38 +02:00
parent 8caac5c524
commit 39f770b28b
+9 -2
View File
@@ -1,3 +1,10 @@
FROM dunglas/frankenphp:latest FROM php:8.2-apache
RUN install-php-extensions pdo_mysql mysqli
# 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