So you have built a shiny new web app and disabled personal teams, it's time to build and deploy! In a future article (I will link here once written) we will go over deploying this to a docker swarm cluster on every push to master and deploying feature branches on each pull request to master.
We now need to edit the dockerfiles for laravel sail to create a production stack — we will base this on the docker-swoole image and add a few changes to keep it relatively small.
We will create a pull request to the master branch which should build that container, and we will then merge that request into the master branch to build the production version.
Let’s go back to GitHub, merge the pull request, and now we wait for another ~2 minutes or so — this time thanks to the caching of composer modules, it will be much quicker.