Using the new binary-only image from Composer
This commit is contained in:
parent
90279010dd
commit
9e5544753c
@ -69,7 +69,7 @@ CMD ["php-fpm"]
|
|||||||
ENV COMPOSER_ALLOW_SUPERUSER=1
|
ENV COMPOSER_ALLOW_SUPERUSER=1
|
||||||
ENV PATH="${PATH}:/root/.composer/vendor/bin"
|
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
|
# prevent the reinstallation of vendors at every changes in the source code
|
||||||
COPY composer.* symfony.* ./
|
COPY composer.* symfony.* ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user