fly-apps / dockerfile-laravel

19 stars 1 forks source link

Run composer/npm install only when dependencies change #41

Open donferi opened 2 months ago

donferi commented 2 months ago

Hi, would it be a good idea to create a layer for dependencies for both npm and composer to only run if the .json or lockfiles change?

Currently if any file changes it will re-install dependencies.