From 51e9f456ff6fab776eaaff040e049a3f336b1a8e Mon Sep 17 00:00:00 2001 From: Freitas_Enzo Date: Wed, 3 Jun 2026 09:10:34 +0000 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"/"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..5d9cb49 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,20 @@ +FROM php:8.2-apache + +RUN apt-get update && apt-get install -y \ + zip \ + unzip \ + git + +RUN docker-php-ext-install mysqli + +RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer + +COPY . /var/www/html/ + +WORKDIR /var/www/html + +RUN composer install --no-interaction --ignore-platform-reqs + +RUN chown -R www-data:www-data /var/www/html/ + +EXPOSE 80 \ No newline at end of file