Write me production dockerfiles

Job ID: 35096675

Budget: €8 – €30 EUR

For a webapplication that consists of two seperate projects, we will require some docker files to be written. Since these are seperate projects that make up the complete application when deployed seperately, we will be requiring two seperate docker setups. Both projects were written in the Laravel framework with one of the projects implementing a Vue front end using InertiaJS.

For each of the projects there will be a couple files provided:
- PHP ini file which shows which extentions are required
- composer.json file
- composer.lock file if you prefer
- package.json file
- package-lock.json file if you prefer

The docker filestructure should be setup in a way where the application can be run as lightweight as possible, preferable by using the alpine linux distro.

Please include a previously created docker setup you have done when bidding on this project and a reason as to why you would have the best solution.
Related categories: PHP Linux Nginx Docker Docker Compose