diff options
Diffstat (limited to 'scripts/dcaegen2-services-son-handler/sonhandler/cps-sonhandler/Dockerfile')
-rw-r--r-- | scripts/dcaegen2-services-son-handler/sonhandler/cps-sonhandler/Dockerfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/dcaegen2-services-son-handler/sonhandler/cps-sonhandler/Dockerfile b/scripts/dcaegen2-services-son-handler/sonhandler/cps-sonhandler/Dockerfile new file mode 100644 index 00000000..688a2fe0 --- /dev/null +++ b/scripts/dcaegen2-services-son-handler/sonhandler/cps-sonhandler/Dockerfile @@ -0,0 +1,15 @@ +FROM python:alpine3.7 + +ADD configdb-oof-sim.py / + +ADD ./sim-data / + +RUN pip install Flask + +RUN pip install requests + +EXPOSE 5000 + +CMD ["flask", "run", "--host", "0.0.0.0"] + +CMD [ "python", "./configdb-oof-sim.py" ] |