Fix Dockerfile: add GD extension for mPDF

This commit is contained in:
Athallah Ghathfan Aqila
2026-06-11 17:16:30 +07:00
parent 7edd0e570e
commit 2c78a3d5b2
+3 -1
View File
@@ -2,7 +2,9 @@ FROM php:8.2-apache
RUN apt-get update && apt-get install -y \
libzip-dev zip unzip \
&& docker-php-ext-install mysqli zip \
libpng-dev libjpeg-dev libfreetype6-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install mysqli zip gd \
&& a2enmod rewrite \
&& rm -rf /var/lib/apt/lists/*