https://github.com/prosody/prosody-docker/blob/master/Dockerfile#L45
This creates an additional layer. This is not necessary if the entrypoint.sh is executable in the filesystem already.
I’m not sure though if relying on that would break windows compatibility.