diff options
author | 2021-01-05 03:33:28 -0800 | |
---|---|---|
committer | 2021-02-05 05:09:37 -0800 | |
commit | 0736c9f21b579973214d1a65ac218b9da7d11086 (patch) | |
tree | 4e052b883ab5c188a86d43bed33b6579b2a3a4c0 /scripts/dcaegen2-services-slice-analysis-ms/Dockerfile | |
parent | fedb1804c8a90e05e6818fee9f59671cdf732ce7 (diff) |
Add CSIT for slice-analysis-ms
Issue-ID: DCAEGEN2-2560
Signed-off-by: Sumithra <sumithra.s69@wipro.com>
Change-Id: Ib776f759ba10e1d95d68ac4bc9da576b6063a59a
Diffstat (limited to 'scripts/dcaegen2-services-slice-analysis-ms/Dockerfile')
-rw-r--r-- | scripts/dcaegen2-services-slice-analysis-ms/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/dcaegen2-services-slice-analysis-ms/Dockerfile b/scripts/dcaegen2-services-slice-analysis-ms/Dockerfile new file mode 100644 index 00000000..52d54a57 --- /dev/null +++ b/scripts/dcaegen2-services-slice-analysis-ms/Dockerfile @@ -0,0 +1,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" ] |