docker and python

There is an official python docker distro - caled python, to specify a version (you want 3 yes ?) - then python:3.

If you copy a requirements file into this container then this will be auto installed - which is a nice touch.

FROM python:3

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt