Skip to content

astramieri/dockerized-python-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Python Flask App

A simple Python Flask app dockerization.

App Folder Structure

|-- app
    |-- src
        |-- server.py
    Dockerfile
    requirements.txt

Build the image

$> cd app
$> docker build -t <image_name> .

List all the images

$> docker images

List all currently running Docker containers

$> docker ps

Run the docker image

$> docker run -d -p 5000:5000 <image_name>

Test the Python App

http://localhost:5000/

About

A simple Python Flask app dockerization.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors