diff --git a/.drone.yml b/.drone.yml index 54f9cb9..cf6ac0f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -24,7 +24,7 @@ steps: image: hub.codefirst.iut.uca.fr/thomas.bellembois/codefirst-dockerproxy-clientdrone:latest environment: IMAGENAME: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire:latest - CONTAINERNAME: Formulaire + CONTAINERNAME: Temoignages COMMAND: create OVERWRITE: true ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal diff --git a/Dockerfile b/Dockerfile index fd9ecbf..9389014 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM php:8.1-apache -RUN apt-get update && apt-get install -y git zip +RUN apt-get update && apt-get install -y git zip tree COPY . /var/www/html +RUN tree WORKDIR /var/www/html/Source/Config RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install @@ -8,5 +9,5 @@ RUN a2enmod rewrite RUN a2enmod actions RUN service apache2 restart WORKDIR /var/www/html -RUN ln -sf Source/index.php index.php +RUN ln -sf ./Source/index.php index.php diff --git a/Source/Tests/Dockerfile b/Source/Tests/Dockerfile deleted file mode 100644 index bb8b96a..0000000 --- a/Source/Tests/Dockerfile +++ /dev/null @@ -1,2 +0,0 @@ -FROM php:8.1-apache -COPY ./coverage.xml /var/www/html \ No newline at end of file