diff --git a/api/Dockerfile b/api/Dockerfile index cbf55eb..87363f0 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,8 +1,8 @@ FROM php:8-fpm -RUN apt-get update -y && apt-get install -y git libzip-dev zip +RUN apt-get update -y && apt-get install -y git libzip-dev zip libpng-dev libfreetype6-dev libjpeg62-turbo-dev tesseract-ocr -RUN docker-php-ext-install pdo pdo_mysql zip +RUN docker-php-ext-configure gd --with-freetype --with-jpeg && docker-php-ext-install pdo pdo_mysql zip gd COPY --from=composer /usr/bin/composer /usr/bin/composer