Skip to content

kiyansh0812/multi-stage-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi Stage Docker build example

Dockerfile contains various stages which are tagged by a name using as.

Commands used

  • docker build . -t multi-stage-example:v1 - Build image
  • docker build . -t multi-stage-example:v1 --target=builder - Build image using a specific stage
  • docker run multi-stage-example:v1 -p 8080:8080 - Run image

About

Multi Stage docker build example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 66.3%
  • Dockerfile 33.7%