shopware / paas

PaaS template based on production template
MIT License
10 stars 14 forks source link

add dotenv:dump in build hook #14

Open iNem0o opened 1 year ago

iNem0o commented 1 year ago

Hello

Here is a change to dump the .env file as .env.local.php during the platform sh build hook and remove the overhead introduced by parsing the env files stack in production.

To ensure the retro-compatibility with the previous Shopware versions the dump is executed only when Shopware >= 6.4.16.0 is enabled in composer vendors