Dockerfile RUN vs CMD vs ENTRYPOINT

RUN is an image build step, the state of the container after a RUN command will be committed to the container image. A Dockerfile can have many RUN steps that layer on top of one another to build the image.