From d0db1ad041c245b653d3febe1b063d8737d82748 Mon Sep 17 00:00:00 2001 From: David D'ALMEIDA Date: Sat, 17 Feb 2024 11:28:48 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Sources/config/Doc?= =?UTF-8?q?kerfile'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/config/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/config/Dockerfile b/Sources/config/Dockerfile index 1312a1a2..f2e296d3 100755 --- a/Sources/config/Dockerfile +++ b/Sources/config/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.2-apache +FROM php:8.2-apache as base # Installation de dépendances nécessaires pour Composer RUN apt-get update && apt-get install -y \ git \ @@ -10,7 +10,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local RUN docker-php-ext-install pdo pdo_mysql -COPY . /var/www/ +COPY . /var/www/html/ -WORKDIR /var/www/ +WORKDIR /var/www/html/ EXPOSE 80 \ No newline at end of file