You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dafl_music/Sources/api_database/Dockerfile

10 lines
464 B

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 . /usr/src/daflmusic
WORKDIR /usr/src/daflmusic
RUN php composer.phar require slim/slim:3.*
CMD [ "php", "./public/index.php" ]