initial commit

This commit is contained in:
2024-09-22 21:12:28 +02:00
commit a4c389fefe
27 changed files with 4251 additions and 0 deletions

21
Dockerfile Normal file
View File

@ -0,0 +1,21 @@
# Utiliser PHP 8.2-fpm
FROM php:8.2-fpm
RUN apt-get update && apt-get install -y \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
libzip-dev \
unzip \
git \
curl \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install gd zip
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html
COPY . /var/www/html
RUN chown -R www-data:www-data /var/www/html/var
RUN chmod -R 775 /var/www/html/var