Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - && \
rm -f /etc/apt/sources.list.d/yarn.list /usr/share/keyrings/yarnkey.gpg

RUN apt-get install -y --no-install-recommends \
libavif-dev \
libsodium-dev \
libpng-dev \
libjpeg-dev \
Expand All @@ -32,8 +33,8 @@ RUN apt-get install -y --no-install-recommends \
&& apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Configure GD with jpeg and freetype support
RUN docker-php-ext-configure gd --with-freetype --with-jpeg
# Configure GD with jpeg, freetype, and avif support.
RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-avif

# Install PHP extensions required by Drupal
RUN docker-php-ext-install -j$(nproc) \
Expand All @@ -42,6 +43,7 @@ RUN docker-php-ext-install -j$(nproc) \
pdo_mysql \
mysqli \
gd \
intl \
opcache \
zip \
mbstring \
Expand All @@ -65,6 +67,7 @@ RUN a2enmod rewrite
RUN echo "memory_limit = -1" > /usr/local/etc/php/conf.d/cli-memory.ini
# Set reasonable limit for Apache
RUN echo "memory_limit = 512M" > /usr/local/etc/php/conf.d/apache-memory.ini
RUN echo "post_max_size = 64M" > /usr/local/etc/php/conf.d/post-max-size.ini

# Install Playwright OS dependencies.
RUN npx playwright install-deps
Expand Down
Loading