Modify Dockerfile
continuous-integration/drone/push Build is failing Details

master
dorian.hodin 2 years ago
parent e87093fdf8
commit a86e9dbc52

@ -1,7 +1,8 @@
FROM php:8.1-apache
RUN apt-get update && apt-get upgrade -y && apt-get install -y git
#RUN apt-get update && apt-get upgrade -y && apt-get install -y git
RUN docker-php-ext-install pdo pdo_mysql
COPY ./script /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
RUN php -S localhost:8888 index.php

Loading…
Cancel
Save