A simple example of using Docker with Python.
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.
docker build -t docker-python-example .docker run --rm -p8080:80 docker-python-exampleOpen 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.
Please see the projects LICENSE file.