Update Dockerfile -> Include GD in PHP Package; Image Scaling in kirby did not work correctly.

This commit is contained in:
thomas-ganter 2021-02-14 16:06:48 +01:00
commit ca0f30e693

View file

@ -14,4 +14,10 @@ RUN \
FROM php:8-fpm-alpine3.13
EXPOSE 9000
WORKDIR /site
RUN \
apk update && apk add freetype-dev libjpeg-turbo-dev libpng-dev && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
docker-php-ext-install -j$(nproc) gd
COPY --from=builder /work/plainkit-master /site