CMD vs. ENTRYPOINT and COPY vs. ADD
Aug 30, 2016
I’d strongly recommend you to read these posts before drafting you Dockerfile.
COPY as much as possible, unless you are pretty sure what
CMD together, override
CMD is easy and more flexible.