Update Dockerfile

This commit is contained in:
2025-06-18 11:10:48 -06:00
committed by GitHub
parent 7a2a7c71de
commit 8c050057fc

View File

@@ -1,10 +1,10 @@
FROM php:8.3-apache FROM php:8.3-apache
# Install system dependencies # Install dependencies for GD and other extensions
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \ libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libzip-dev \ libzip-dev \
zip \ zip \
unzip \ unzip \
@@ -12,15 +12,15 @@ RUN apt-get update && apt-get install -y \
libxml2-dev \ libxml2-dev \
curl \ curl \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ && docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install \ && docker-php-ext-install -j$(nproc) \
gd \
pdo \ pdo \
pdo_mysql \ pdo_mysql \
mysqli \ mysqli \
mbstring \ mbstring \
zip \ zip \
gd \
curl \
xml \ xml \
curl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* && apt-get clean && rm -rf /var/lib/apt/lists/*
# Enable Apache mod_rewrite # Enable Apache mod_rewrite