build: update Dockerfile to use php:8.2-apache and install necessary extensions
This commit is contained in:
+9
-2
@@ -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
|
||||
Reference in New Issue
Block a user