Diffrenece Between ENTRPOINT and CMD
For information refer this link.
What Is Entrypoint in Dockerfile?
A Dockerfile is a blueprint for building Docker images. It consists of instructions that tell Docker how to build an image. One such instruction is ‘ENTRYPOINT’. It specifies the command that will always run when a new container is started. In this article, we will look at the ENTRYPOINT instruction in detail.