Basic skeleton to Dockerize a PHP app. Here it's tested with Symfony 5 and PHP 7.4 with PostgreSQL 12 and nginx.
For developer experience purposes, zsh (with oh-my-zsh and the powerlevel10k theme with a preconfigured setting) is also installed.
Read more about it here https://www.devpowerup.com/php-docker