diff --git a/.drone.yml b/.drone.yml index cf6ac0f..2195114 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ trigger: steps: - - name: image-app + - name: Formulaire image: plugins/docker settings: dockerfile: ./Dockerfile @@ -24,11 +24,11 @@ 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: Temoignages + CONTAINERNAME: Formulaire COMMAND: create OVERWRITE: true ADMINS: dorianhodin,alexislamande,baptistebaverel,johanlachenal - depends_on: [ image-app ] + depends_on: [ Formulaire ] - name: setup_PHP_for_SonarQube image: sonarsource/sonar-scanner-cli diff --git a/Dockerfile b/Dockerfile index 9389014..2020225 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ FROM php:8.1-apache -RUN apt-get update && apt-get install -y git zip tree +RUN apt-get update && apt-get install -y git zip 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