Refactoring

This commit is contained in:
2022-09-05 15:16:21 +02:00
parent c214b48ea7
commit 505a4f3bf2

View File

@@ -1,4 +1,4 @@
FROM php:8.1.7-fpm
FROM php:7.2-fpm
ARG WORKDIR=/var/www/html
ENV DOCUMENT_ROOT=${WORKDIR}
ENV LARAVEL_PROCS_NUMBER=1
@@ -43,7 +43,7 @@ RUN docker-php-ext-enable rdkafka \
&& rm -rf /php-rdkafka
# Install PHP extensions zip, mbstring, exif, bcmath, intl
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
RUN docker-php-ext-configure gd
RUN docker-php-ext-install zip mbstring exif pcntl bcmath -j$(nproc) gd intl
# Install Redis and enable it