Created
November 23, 2021 01:54
-
-
Save amitavroy/e8ee4c2105108101b6b4323392e26738 to your computer and use it in GitHub Desktop.
Composer PHP 7.4 Docker file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM phpdockerio/php74-cli as php | |
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer | |
WORKDIR /app | |
CMD ["composer"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run --rm -i -t -v $PWD:/app composer7.4 create-project laravel/laravel LaravelCleanCode