Update php version

This commit is contained in:
2022-09-05 15:26:17 +02:00
parent 6d9e7ecac2
commit 8eedeb687a

View File

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