See https://github.com/atsanna/codeigniter4-docker looks like a working example
Interesting but how can I integrate the boilerplate code in that image? So I already have a custom code base where I can craft my app
Read the Dockerfile in the repository, then adapt it to your project
I tried to dockerize the boilerplate but I'm stuck with the dependencies installation, I also opened a question here https://stackoverflow.com/questions/66283653/how-to-install-composer-dependencies-in-a-container/66283750?noredirect=1#comment117187515_66283750 may could you take a look?
Sorry, I don't have time
Search for docker multi-stage builds
Обсуждают сегодня