aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dcaegen2-services-slice-analysis-ms/Dockerfile
blob: 52d54a57cc2b89d887e86b4e2b906d7d096a01db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:alpine3.7

ADD configdb-sim.py /

ADD ./sim-data /

RUN pip install Flask --trusted-host pypi.org --trusted-host files.pythonhosted.org

RUN pip install requests --trusted-host pypi.org --trusted-host files.pythonhosted.org

EXPOSE 5000

CMD ["flask", "run", "--host", "0.0.0.0"]

CMD [ "python", "./configdb-sim.py" ]