Skip to content

Instantly share code, notes, and snippets.

@amitavroy
Created November 23, 2021 01:54
Show Gist options
  • Save amitavroy/e8ee4c2105108101b6b4323392e26738 to your computer and use it in GitHub Desktop.
Save amitavroy/e8ee4c2105108101b6b4323392e26738 to your computer and use it in GitHub Desktop.
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
Copy link
Author

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