1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
FROM python:3.6 MAINTAINER tommy@research.att.com ADD . /tmp #need pip > 8 to have internal pypi repo in requirements.txt RUN pip install --upgrade pip #do the install WORKDIR /tmp RUN pip install -r requirements.txt RUN pip install -e . EXPOSE 10000 CMD run.py