Browse Source

run composer after install

dev
Adrian Malacoda 2 years ago
parent
commit
420bbac561
1 changed files with 3 additions and 1 deletions
  1. + 3
    - 1
      Dockerfile

+ 3
- 1
Dockerfile

@ -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 && \

Loading…
Cancel
Save