Dockerfile

This commit is contained in:
2021-12-06 22:10:12 -03:00
parent a3311f805e
commit 0382f8c286

View File

@ -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