Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

aenglander/docker-python-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Python Example

A simple example of using Docker with Python.

Overview

This example uses a Dockerfile to define the Docker image based on one of the official Python images. The application is a Flask "Hello World" application in app.py. Requirements are defined in Pipfile.

Building and Running the Example

Build:

docker build -t docker-python-example .

Run:

docker run --rm -p8080:80 docker-python-example

Test:

Open the URL http://localhost:8080

This will work on most systems. You may have to usd a alternate URL based on your Docker networking implementation.

License

Please see the projects LICENSE file.

About

Simple example of using Docker with Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published