I'm still learning Docker, but I think this Docker file really needs the ability to specify a location for the config.php on the Docker host. That way, when the phpservermonitor docker image gets updated, or if we reinstall it for some reason, we don't have to run through the install.php setup wizard every time. We can store the config.php file persistently on our host and your image will just read it from there.
This image has a "config" path for example:
https://hub.docker.com/r/linuxserver/mariadb/
I'm still learning Docker, but I think this Docker file really needs the ability to specify a location for the config.php on the Docker host. That way, when the phpservermonitor docker image gets updated, or if we reinstall it for some reason, we don't have to run through the install.php setup wizard every time. We can store the config.php file persistently on our host and your image will just read it from there.
This image has a "config" path for example:
https://hub.docker.com/r/linuxserver/mariadb/