Update Dockerfile -> Include GD in PHP Package; Image Scaling in kirby did not work correctly.
This commit is contained in:
parent
44df94d900
commit
ca0f30e693
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue