---
title: "Discussion on \"Multistage Docker Builds\" | Hashnode"
description: "Discussion on \"Multistage Docker Builds\". What is Multistage docker build?\nWith multi-stage builds, a Docker build uses one base image for compilation, packaging, and unit tests and then a separate image for the application runtime. As a result, the final image is smaller in size since it do..."
url: "https://hashnode.com/posts/multistage-docker-builds/669a8018b5023ede1f8c0314"
---

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

Discussion

# [Multistage Docker Builds](https://ashwini23.hashnode.dev/multistage-docker-builds?utm_source=hashnode&utm_medium=feed)

What is Multistage docker build? With multi-stage builds, a Docker build uses one base image for compilation, packaging, and unit tests and then a separate image for the application runtime. As a result, the final image is smaller in size since it do...

Jul 19, 2024 · 2 min read · ashwini23.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#docker-images](https://hashnode.com/tag/docker-images)
-   [#multi-stage-docker-file](https://hashnode.com/tag/multi-stage-docker-file)
-   [#multistage-docker-build](https://hashnode.com/tag/multistage-docker-build)
-   [#distroless](https://hashnode.com/tag/distroless)
-   [#distroless-image](https://hashnode.com/tag/distroless-image)
-   [#devops](https://hashnode.com/tag/devops)
-   [#containers](https://hashnode.com/tag/containers)
-   [#dockerimage](https://hashnode.com/tag/dockerimage)
-   [#continuouslearning](https://hashnode.com/tag/continuouslearning)

## Written by

[ashwini purwat](https://hashnode.com/@Ashwini1008)

@Ashwini1008

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

DevOps Blog

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
