run composer after install
This commit is contained in:
@ -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 && \
|
||||
|
Reference in New Issue
Block a user