PHP apache to PHP Slim image docker
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
68d7af0515
commit
f4e437c7d1
@ -1,7 +1,6 @@
|
|||||||
FROM php:8.1-apache
|
FROM shinsenter/slim:latest
|
||||||
RUN apt-get update && apt-get install -y git
|
RUN apt-get update && 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 composer update && composer install
|
RUN composer update && composer install
|
Loading…
Reference in new issue