[docker] quieter build

This commit is contained in:
Shish 2024-01-05 15:59:30 +00:00
parent f47c7d7ee8
commit f3d869f8c3

View file

@ -39,13 +39,13 @@ ENV XDEBUG_MODE=coverage
FROM dev-tools AS build
COPY composer.json composer.lock /app/
WORKDIR /app
RUN composer install --no-dev
RUN composer install --no-dev --no-progress
COPY . /app/
# Tests in their own image.
# Re-run composer install to get dev dependencies
FROM build AS tests
RUN composer install
RUN composer install --no-progress
COPY . /app/
ARG RUN_TESTS=true
RUN [ $RUN_TESTS = false ] || (\