arkhamdb-docker/Dockerfile

10 lines
256 B
Docker

FROM php:fpm
RUN docker-php-ext-install mysqli pdo pdo_mysql
COPY ./arkhamdb/ /srv
RUN chown -R www-data: /srv
COPY parameters.yml /srv/app/config/parameters.yml
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
RUN cd /srv/ && composer install