mailcow/data/web/inc/lib/vendor/matthiasmullie/minify/Dockerfile

14 lines
319 B
Docker
Raw Normal View History

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
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