FROM php:7.3-fpm RUN apt-get update && apt-get install -y libmcrypt-dev mariadb-client libmagickwand-dev --no-install-recommends RUN pecl install imagick RUN docker-php-ext-enable imagick RUN docker-php-ext-install pdo_mysql RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer COPY ./sources /usr/src/daflmusic WORKDIR /usr/src/daflmusic RUN php composer.phar require slim/slim:3.* CMD [ "php", "./public/index.php" ]