Dockerfile update
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
c8f788d1d9
commit
e59743eca5
@ -1,8 +1,9 @@
|
|||||||
FROM php:8.1-apache
|
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
|
RUN docker-php-ext-install pdo pdo_mysql
|
||||||
COPY ./script /var/www/html
|
#COPY ./script /var/www/html
|
||||||
WORKDIR /var/www/html/Config
|
WORKDIR /var/www/html/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
|
||||||
|
WORKDIR /var/www/html
|
||||||
RUN php -S localhost:8888 blanc.php &
|
RUN php -S localhost:8888 blanc.php &
|
Loading…
Reference in new issue