Skip to content

chore(docker): replace ADD with COPY in nginx Dockerfile#121

Merged
eduardofraga merged 1 commit intolatestfrom
120-dok-dl3020-use-copy-instead-of-add-for-files-and-folders
Jan 26, 2026
Merged

chore(docker): replace ADD with COPY in nginx Dockerfile#121
eduardofraga merged 1 commit intolatestfrom
120-dok-dl3020-use-copy-instead-of-add-for-files-and-folders

Conversation

@eduardofraga
Copy link
Copy Markdown
Contributor

  • Replace ADD instruction with COPY for conf.d/*.conf files
  • COPY is more explicit and appropriate for file copying operations
  • Follows Docker best practices by using COPY instead of ADD when not extracting archives
  • Improves clarity and maintainability of the Dockerfile

- Replace ADD instruction with COPY for conf.d/*.conf files
- COPY is more explicit and appropriate for file copying operations
- Follows Docker best practices by using COPY instead of ADD when not extracting archives
- Improves clarity and maintainability of the Dockerfile
@eduardofraga eduardofraga linked an issue Jan 26, 2026 that may be closed by this pull request
@eduardofraga eduardofraga merged commit abea08b into latest Jan 26, 2026
3 checks passed
@eduardofraga eduardofraga deleted the 120-dok-dl3020-use-copy-instead-of-add-for-files-and-folders branch January 26, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(DOK-DL3020) Use COPY instead of ADD for files and folders

1 participant