quiniela-sembradores-backend/docker/php/Dockerfile

31 lines
679 B
Text
Raw Normal View History

2026-03-19 18:18:18 -06:00
FROM php:8.4-fpm-bookworm
RUN apt-get update && apt-get install -y \
git \
curl \
unzip \
libpng-dev \
libjpeg62-turbo-dev \
libfreetype6-dev \
libzip-dev \
libicu-dev \
libonig-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j"$(nproc)" \
bcmath \
exif \
gd \
intl \
opcache \
pcntl \
pdo_mysql \
zip \
2026-03-19 23:05:42 -06:00
&& pecl install redis xdebug \
&& docker-php-ext-enable redis xdebug \
2026-03-19 18:18:18 -06:00
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html