Skip to content

including an example workflow for building and pushing docker image to a docker image repository

Notifications You must be signed in to change notification settings

thanhvie/flask-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how to run flask-docker

  • Install docker if you don't have yet
  • Run docker image below, we will run the image in detach mode and at port 5000
docker run -d -p 5000:5000 huynhthviet/dockerhub:flaskapp-docker
  • Access the web app at localhost:5000

github actions

Github actions show an example workflow for building and pushing docker image to a docker image repository. Everytime the code submitted in master/main branch, a process of building and pushing docker image will be trigger. The docker image of every build will be assigned a different image tag.

The image repository for this project is here

huynhthviet/dockerhub:flaskapp-docker

Run docker image created by github actions workflow

  • We can run docker image created by workflow in the same way as above

About

including an example workflow for building and pushing docker image to a docker image repository

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published