How to install PHP composer inside a docker container

PHOTO EMBED

Wed Nov 24 2021 16:39:26 GMT+0000 (UTC)

Saved by @swina #php

# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
content_copyCOPY

https://stackoverflow.com/questions/51443557/how-to-install-php-composer-inside-a-docker-container