2019-01-30 12:10:26 +01:00
|
|
|
ARG version=cli
|
|
|
|
FROM php:$version
|
|
|
|
|
|
|
|
COPY . /var/www
|
|
|
|
WORKDIR /var/www
|
|
|
|
|
|
|
|
RUN apt-get update
|
2021-03-01 10:21:26 +01:00
|
|
|
RUN apt-get install -y zip unzip libzip-dev git
|
|
|
|
RUN docker-php-ext-install zip
|
2019-01-30 12:10:26 +01:00
|
|
|
RUN docker-php-ext-install pcntl
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php
|
|
|
|
RUN mv composer.phar /usr/local/bin/composer
|
|
|
|
RUN composer install
|