CMD vs. ENTRYPOINT and COPY vs. ADDAug 30, 2016I’d strongly recommend you to read these posts before drafting you Dockerfile. Dockerfile: ADD vs COPY Dockerfile: ENTRYPOINT vs CMD Best practices for writing Dockerfiles tl;drUse COPY as much as possible, unless you are pretty sure what ADD does. Use ENTRYPOINT and CMD together, override CMD is easy and more flexible.