Call check-platform-reqs when building the Docker image

This way we can catch dependency issues earlier
This commit is contained in:
Pierre Rudloff 2020-06-23 00:01:55 +02:00
parent 7d565bfa89
commit 9f6b2d41a9
1 changed files with 1 additions and 0 deletions

View File

@ -8,5 +8,6 @@ RUN a2enmod rewrite
RUN curl -sS https://getcomposer.org/installer | php -- --quiet
COPY resources/php.ini /usr/local/etc/php/
COPY . /var/www/html/
RUN php composer.phar check-platform-reqs --no-dev
RUN php composer.phar install --prefer-dist --no-progress --no-dev --optimize-autoloader
ENV CONVERT=1