---
title: "Discussion on \"A Guide to Understanding the ADD and COPY Commands in Dockerfile\" | Hashnode"
description: "Discussion on \"A Guide to Understanding the ADD and COPY Commands in Dockerfile\". Preserving Directory Structure in Docker Images with COPY and ADD Commands: A Deep Dive into Dockerfile Configuration."
url: "https://hashnode.com/posts/a-guide-to-understanding-the-add-and-copy-commands-in-dockerfile/64c4e652bbff41ded8650de8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Guide to Understanding the ADD and COPY Commands in Dockerfile](https://hasnainm.hashnode.dev/a-guide-to-understanding-the-add-and-copy-commands-in-dockerfile?utm_source=hashnode&utm_medium=feed)

Preserving Directory Structure in Docker Images with COPY and ADD Commands: A Deep Dive into Dockerfile Configuration.

Jul 29, 2023 · 8 min read · hasnainm.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#dockerfile](https://hashnode.com/tag/dockerfile)
-   [#directory-structure](https://hashnode.com/tag/directory-structure)

## Written by

[Hasnain Makada](https://hashnode.com/@HasnainMakada)

@HasnainMakada · India

  
[View profile](https://hashnode.com/@HasnainMakada)

DevOps and Flutter 💙| Open Source Enthusiast | Flutter Dev.

As a 22-year-old Computer Engineer, my enthusiasm lies in open-source development, particularly with Flutter. Actively contributes to "Open Source with Hasnain," channelling efforts to craft high-performance applications. Beyond technical expertise, a forward-thinking tech vision propels towards continuous growth and innovation.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
