arkhamdb-docker/Dockerfile

15 lines
410 B
Docker
Raw Normal View History

FROM php:7-fpm as php-fpm
2020-11-24 00:13:57 -05:00
RUN apt update && \
2020-11-24 00:15:10 -05:00
apt install -y zip unzip git && \
2020-11-24 00:13:57 -05:00
docker-php-ext-install mysqli pdo pdo_mysql
2020-11-24 00:03:01 -05:00
2023-04-22 22:06:06 -04:00
RUN git clone https://github.com/ad1217/arkhamdb /srv
2020-11-24 00:03:01 -05:00
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
2020-11-24 00:14:16 -05:00
FROM nginx as nginx
COPY --from=php-fpm /srv /srv