Skip to content

Lord-Zod/flask-python-3-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask and Python 3 docker container

Build it

docker build -t flask-python-sample:latest .

Or with docker-compose

docker-compose build

Run it

docker run -d -p 5000:5000 flask-python-sample

Or with docker-compose

docker-compose up -d

Access to the shell

docker exec -ti flask-python-sample /bin/bash

Note

If you use docker-compose, you can do live changes

See it in action

Go to http://localhost:5000 and you should see flask running :-)

About

Simple container with Python 3 and Flask installed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 74.4%
  • Python 20.7%
  • Dockerfile 4.9%