Try to add Dockerfile to root
continuous-integration/drone/push Build is failing Details

master
dorian.hodin 2 years ago
parent b1bb513c5d
commit 9f7d2dd03f

@ -11,7 +11,7 @@ steps:
- name: image-app - name: image-app
image: plugins/docker image: plugins/docker
settings: settings:
dockerfile: ./Source/Dockerfile dockerfile: ./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,7 +1,7 @@
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/Source/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 RUN composer update && composer install
RUN a2enmod rewrite RUN a2enmod rewrite
Loading…
Cancel
Save