Simon Hrabos | dd1afc5 | 2019-02-21 10:38:05 +0100 | [diff] [blame] | 1 | FROM python:2.7-alpine |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 2 | |
3 | EXPOSE 8080 | ||||
4 | |||||
5 | RUN mkdir -p /{tmp,etc}/generic_sim | ||||
6 | |||||
7 | WORKDIR /opt/generic_sim/ | ||||
8 | |||||
9 | COPY . . | ||||
10 | RUN pip install --no-cache-dir -r requirements.txt | ||||
11 | |||||
12 | CMD [ "python", "generic_sim.py" ] |