An open API service indexing awesome lists of open source software.

https://github.com/thanhvie/flask-docker

including an example workflow for building and pushing docker image to a docker image repository
https://github.com/thanhvie/flask-docker

docker docker-image dockerfile github-actions workflow

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](https://github.com/marketplace/actions/build-and-push-docker-images)

## Run docker image created by github actions workflow
- We can run docker image created by workflow in the same way as above