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

ADD configdb-des-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-des-sim.py" ]