Ajouter 'Dockerfile'
continuous-integration/drone/push Build is failing Details

master
Dorian HODIN 11 months ago
parent 581ce5e15d
commit 02e113ecc7

@ -0,0 +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
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
RUN composer update --no-autoloader && composer install --no-autoloader
RUN a2enmod rewrite
RUN a2enmod actions
RUN service apache2 restart
Loading…
Cancel
Save