Skip to content

zohaibbashir/Understanding-Multi-Stage-Builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Understanding-Multi-Stage-Builds

Code for the blog 'Understanding Multi-Stage Builds'. It can be found here at https://cloudnativeislamabad.hashnode.dev/understanding-docker-multi-stage-build To run the container run the following commands.

0a. Considering the Flask Application is not built run this command to check if the program runs.

0b. python -m flask --app .\app.py run.

If Flask Application works then use these commands.

  1. docker build -t docker-flask .
  2. docker run -p 5000:5000 -d docker-flask
  3. Then go to your preferred browser and write localhost:5000
  4. Congratulations! You containerized your Flask code

About

Code for the blog 'Understanding Multi-Stage Builds'. It can be found here https://zohaibbashir.medium.com/understanding-docker-multi-stage-build-f8d3fdadbe79

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages