One SO thread.
From Devopscube article:
In a Dockerfile, ENTRYPOINT and CMD are two different instructions that are used to define how a container should run.
ENTRYPOINT is used to specify the main command that should be executed when a container is started using the image. The default ENTRYPOINT command is /bin/sh -c.