Tag: dockerfile
All the articles with the tag "dockerfile".
-
Understanding CMD and ENTRYPOINT in Dockerfiles
CMD and ENTRYPOINT both define what runs in a container but work differently — exec vs shell form, and how they interact when combined.
-
Dockerfile: Differences Between COPY and ADD
COPY and ADD look similar but ADD auto-extracts tarballs and fetches URLs — know when each is appropriate and why COPY is usually better.