arkhamdb-docker/Dockerfile

12 lines
318 B
Docker
Raw Normal View History

2020-11-24 00:13:57 -05:00
FROM php:fpm as php-fpm
RUN apt update && \
apt install zip unzip && \
docker-php-ext-install mysqli pdo pdo_mysql
2020-11-24 00:03:01 -05:00
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