From 9f6b2d41a947e533125a6467475cc2e9249a0a6a Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Tue, 23 Jun 2020 00:01:55 +0200 Subject: [PATCH] Call check-platform-reqs when building the Docker image This way we can catch dependency issues earlier --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 8a9d7f5..e5ac935 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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