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