Skip to content

Instantly share code, notes, and snippets.

@daniDLL
Last active December 15, 2021 09:46
Show Gist options
  • Save daniDLL/c8f41d3e27b9888a5b6720b8401b81e8 to your computer and use it in GitHub Desktop.
Save daniDLL/c8f41d3e27b9888a5b6720b8401b81e8 to your computer and use it in GitHub Desktop.
Docker command for a clean installation of composer packages for a Magento project
docker run --user root --rm --volume=<local-path>:/var/www/html modestcoders/php:7.4-fpm /bin/bash -c "composer self-update --2 && composer install"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment