diff --git a/.drone.yml b/.drone.yml index 61130a3..cfee541 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: app-image image: plugins/docker settings: - dockerfile: ./Source/Dockerfile + dockerfile: ./Code/Dockerfile context: Source registry: hub.codefirst.iut.uca.fr repo: hub.codefirst.iut.uca.fr/dorian.hodin/sae4.01_formulaire diff --git a/Code/Source/Dockerfile b/Code/Dockerfile similarity index 92% rename from Code/Source/Dockerfile rename to Code/Dockerfile index 7b75ec9..ac8a7a6 100644 --- a/Code/Source/Dockerfile +++ b/Code/Dockerfile @@ -1,6 +1,6 @@ FROM php:8.1-apache RUN apt-get update && apt-get install -y git zip -COPY . /var/www/html +COPY ./Source /var/www/html WORKDIR /var/www/html/Config RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install --prefer-source ../.