Tommy Carpenter | 44693e8 | 2017-10-17 09:59:35 -0400 | [diff] [blame] | 1 | FROM python:3.6 |
Tommy Carpenter | 0581c1e | 2017-08-11 15:02:32 -0400 | [diff] [blame] | 2 | MAINTAINER tommy@research.att.com |
| 3 | |
| 4 | ADD . /tmp |
| 5 | |
| 6 | #need pip > 8 to have internal pypi repo in requirements.txt |
| 7 | RUN pip install --upgrade pip |
| 8 | #do the install |
| 9 | WORKDIR /tmp |
Tommy Carpenter | 0581c1e | 2017-08-11 15:02:32 -0400 | [diff] [blame] | 10 | RUN pip install -e . |
| 11 | |
| 12 | EXPOSE 10000 |
| 13 | |
Tommy Carpenter | 226719d | 2018-03-09 10:41:05 -0500 | [diff] [blame^] | 14 | RUN mkdir -p /opt/logs/ |
| 15 | |
Tommy Carpenter | 0581c1e | 2017-08-11 15:02:32 -0400 | [diff] [blame] | 16 | CMD run.py |