Skip to content

michaelbutler/python-docker-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-docker-project

Sample boilerplate project with Python, Flask, Nginx-Unit, and Docker.

Usage Steps

Clone the project:

git clone git@github.com:michaelbutler/python-docker-project.git

Reset the git repo and use your own repository (you can create an empty one in GitHub):

rm -rf .git/
git init -b main
git add .
git commit -m "First commit"
git remote add origin git@github.com:OWNER/REPOSITORY.git

Build & run the docker server:

docker build -t flask-app:latest .
docker run --rm -it -p 8080:8080 flask-app:latest

Server now accessible at http://127.0.0.1:8080/

About

Sample boilerplate project with Python, Flask, and Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published