run composer after install

This commit is contained in:
Adrian Malacoda
2018-02-01 09:11:35 -06:00
parent 4fd7a8cbc9
commit 420bbac561

View File

@ -1,6 +1,7 @@
FROM debian:stable
RUN apt-get -y update && apt-get -y install nginx php-fpm php-mysql php-apcu php-mbstring php-xml supervisor python-pip mysql-client imagemagick curl wget
RUN apt-get -y update && apt-get -y install nginx php-fpm php-mysql php-apcu php-mbstring php-xml supervisor python-pip \
mysql-client imagemagick curl wget zip unzip php-pclzip
RUN pip install supervisor-stdout
ENV MW_VERSION REL1_30
@ -28,6 +29,7 @@ RUN cd /tmp && wget $MW_SOURCE && tar -xvf mediawiki-*.tar.gz && \
RUN chown -R www-data:www-data /application
ADD --chown=www-data:www-data application application
RUN cd $WIKI_SOURCE && composer update --no-dev
RUN ln -sf /configuration/supervisord.conf /etc/supervisor/supervisord.conf && \
ln -sf /configuration/nginx.conf /etc/nginx/nginx.conf && \