Clone arkhamdb inside Dockerfile

This commit is contained in:
Adam Goldsmith 2020-11-24 00:15:10 -05:00
parent e88fbed238
commit db8760f2c9
2 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,9 @@
FROM php:fpm as php-fpm FROM php:fpm as php-fpm
RUN apt update && \ RUN apt update && \
apt install zip unzip && \ apt install -y zip unzip git && \
docker-php-ext-install mysqli pdo pdo_mysql docker-php-ext-install mysqli pdo pdo_mysql
COPY ./arkhamdb/ /srv RUN git clone https://github.com/Kamalisk/arkhamdb /srv
RUN chown -R www-data: /srv RUN chown -R www-data: /srv
COPY parameters.yml /srv/app/config/parameters.yml COPY parameters.yml /srv/app/config/parameters.yml

View File

@ -1,7 +1,6 @@
#!/bin/bash #!/bin/bash
set -e set -e
git clone https://github.com/Kamalisk/arkhamdb
git clone https://github.com/ad1217/arkhamdb-json-data git clone https://github.com/ad1217/arkhamdb-json-data
docker-compose up -d docker-compose up -d