Niranjana | 3d457a0 | 2020-08-12 13:33:22 +0530 | [diff] [blame] | 1 | FROM python:alpine3.7 |
2 | |||||
3 | ADD configdb-oof-sim.py / | ||||
4 | |||||
5 | ADD ./sim-data / | ||||
6 | |||||
7 | RUN pip install Flask | ||||
8 | |||||
9 | RUN pip install requests | ||||
10 | |||||
11 | EXPOSE 5000 | ||||
12 | |||||
13 | CMD ["flask", "run", "--host", "0.0.0.0"] | ||||
14 | |||||
15 | CMD [ "python", "./configdb-oof-sim.py" ] |