Updated the proostekrant to work properly again.

This commit is contained in:
douwe
2026-10-09 10:33:21 +02:00
parent 56d143b74b
commit 256a81a770
133 changed files with 10491 additions and 837 deletions
+42
View File
@@ -0,0 +1,42 @@
FROM php:8.2-fpm-alpine
# Install dependencies for GD extension
RUN apk add --no-cache --virtual .build-deps \
freetype-dev \
libjpeg-turbo-dev \
libpng-dev \
libwebp-dev \
zlib-dev
# Install and enable GD extension with all image format support
# Note: --with-png and --with-jpeg are now built-in, only need freetype and webp
RUN docker-php-ext-configure gd \
--with-freetype \
--with-webp
# Install PHP extensions
RUN docker-php-ext-install -j$(nproc) \
gd \
mysqli \
pdo \
pdo_mysql
# Clean up build dependencies
RUN apk del .build-deps
# Also install runtime libraries for GD
RUN apk add --no-cache \
freetype \
libjpeg-turbo \
libpng \
libwebp \
zlib
# Copy PHP configuration
COPY docker/php/php.ini /usr/local/etc/php/conf.d/custom.ini
WORKDIR /var/www/html
EXPOSE 9000
CMD ["php-fpm"]