composer require pixie-media/patching
mkdir -p ./m2-hotfixes
echo ".patch files go here" > ./m2-hotfixes/readme.md
chmod 775 ./vendor/pixie-media/patching/bin/ece-patches
./vendor/pixie-media/patching/bin/ece-patches apply
Magento QPT should install
If not can be installed with composer require magento/quality-patches
./vendor/bin/magento-patches apply MAGETWO-XXXX