Initial setup

This commit is contained in:
Alexis
2026-07-13 19:25:35 +02:00
parent b390c687c9
commit 5c765c1dbe
13 changed files with 146 additions and 1 deletions

8
php/8.1/Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM php:8.1-fpm-alpine
RUN apk add --no-cache \
libpng-dev libzip-dev libjpeg-turbo-dev freetype-dev icu-dev libxml2-dev oniguruma-dev curl-dev \
&& docker-php-ext-configure gd --with-jpeg --with-freetype \
&& docker-php-ext-install -j$(nproc) gd mysqli pdo pdo_mysql zip intl exif mbstring curl xml soap bcmath opcache
COPY php.ini /usr/local/etc/php/conf.d/custom.ini

6
php/8.1/php.ini Normal file
View File

@@ -0,0 +1,6 @@
upload_max_filesize = 128M
post_max_size = 128M
memory_limit = 256M
max_execution_time = 300
opcache.enable = 1
opcache.validate_timestamps = 1