GitHub - jasonjlock/python-env: A Python development environment using Docker Compose.

A Python development environment using Docker Compose.

Getting Started

Download and install Docker for Mac or Windows.

Clone this repository:

git clone https://github.com/jasonjlock/python-env.git

Change directories to the new repository:

How To Use

Start the Docker containers:

Running this step for the first time builds the container images. This process can take a while.

this starts Nginx and Python containers. Nginx is a reverse proxy passing requests to the Python server.

What Next

While the containers are running, visit http://localhost in your browser.

Add dependencies, write some code, and run it:

docker exec -it pythonenv_app_1 python your_code.py

Stop the running containers:

Helpful Resources