Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimized number of layers and changed ADD to COPY. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shubhambhattar
Copy link

It is preferred to minimzed the number of layers and to prefer COPY over ADD for basic file copying reference. MAINTAINER is deprecated and hence changed it to LABEL.

It is preferred to minimzed the number of layers and to prefer `COPY` over `ADD` for basic file copying [reference](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#add-or-copy). `MAINTAINER` is deprecated and hence changed it to `LABEL`.
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants