Skip to content

Instantly share code, notes, and snippets.

@amitavroy
Created Nov 23, 2021
Embed
What would you like to do?
Composer PHP 7.4 Docker file
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"]
@amitavroy

This comment has been minimized.

Copy link
Owner Author

@amitavroy amitavroy commented Nov 23, 2021

docker run --rm -i -t -v $PWD:/app composer7.4 create-project laravel/laravel LaravelCleanCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment