Using the new binary-only image from Composer

This commit is contained in:
Loïc Sapone 2022-11-02 17:11:37 +01:00 committed by Maxime Helias
parent 90279010dd
commit 9e5544753c

View File

@ -69,7 +69,7 @@ CMD ["php-fpm"]
ENV COMPOSER_ALLOW_SUPERUSER=1
ENV PATH="${PATH}:/root/.composer/vendor/bin"
COPY --from=composer:2 --link /usr/bin/composer /usr/bin/composer
COPY --from=composer/composer:2-bin --link /composer /usr/bin/composer
# prevent the reinstallation of vendors at every changes in the source code
COPY composer.* symfony.* ./