Modifictaion of Dockerfile, now in root
continuous-integration/drone/push Build is failing Details

unit_test
dorian.hodin 2 years ago
parent 0e2f091251
commit d8fd415086

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

@ -1,9 +1,9 @@
FROM php:8.1-apache
RUN apt-get update && apt-get install -y git zip
COPY . /var/www/html
WORKDIR /var/www/html/Config
COPY Source /var/www/html
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
WORKDIR /var/www/html
WORKDIR /var/www/html/Source
RUN Config/vendor/bin/phpunit .\Tests --coverage-clover coverage.xml
Loading…
Cancel
Save