mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2026-01-24 08:19:00 +01:00
Merge branch '8.0' into 8.1
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
FROM php:8.1-fpm
|
||||
ENV WORKDIR=/var/www
|
||||
ENV STORAGE_DIR=/var/www/storage
|
||||
ENV LARAVEL_PROCS_NUMBER=2
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
@@ -42,6 +43,7 @@ RUN docker-php-ext-enable rdkafka \
|
||||
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
|
||||
RUN docker-php-ext-install zip mbstring exif pcntl bcmath -j$(nproc) gd intl
|
||||
|
||||
|
||||
# Install Redis and enable it
|
||||
RUN pecl install redis && docker-php-ext-enable redis
|
||||
|
||||
|
||||
Reference in New Issue
Block a user