Modification of .drone.yml
continuous-integration/drone/push Build is failing Details

unit_test
dorian.hodin 2 years ago
parent 2689ab74d6
commit 625ca1f868

@ -11,7 +11,7 @@ steps:
- name: app-image - name: app-image
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: ./Source/Dockerfile dockerfile: ./Code/Dockerfile
context: Source context: Source
registry: hub.codefirst.iut.uca.fr registry: hub.codefirst.iut.uca.fr
repo: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire repo: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire

@ -1,6 +1,6 @@
FROM php:8.1-apache 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
COPY . /var/www/html COPY ./Source /var/www/html
WORKDIR /var/www/html/Config WORKDIR /var/www/html/Config
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update && composer install --prefer-source ../. RUN composer update && composer install --prefer-source ../.
Loading…
Cancel
Save