aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/templates/moonforming/Dockerfile
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-10-12 10:03:18 +0200
committerasteroide <thomas.duval@orange.com>2017-10-12 10:03:18 +0200
commit7cc08044446719483e8cc235742e6f9a0d500287 (patch)
treeb1dab2b48d1d1b0e9c7e413123aea2f3f235fe1f /moonv4/templates/moonforming/Dockerfile
parent4c8b7acf75ca422094a40e632be6587bdec73727 (diff)
Add the moonforming container.
Change-Id: I8da07a3cdca18b837ea51e64045006562ca03c7a
Diffstat (limited to 'moonv4/templates/moonforming/Dockerfile')
-rw-r--r--moonv4/templates/moonforming/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/moonv4/templates/moonforming/Dockerfile b/moonv4/templates/moonforming/Dockerfile
new file mode 100644
index 00000000..14b12b60
--- /dev/null
+++ b/moonv4/templates/moonforming/Dockerfile
@@ -0,0 +1,8 @@
+FROM python:3
+WORKDIR /usr/src/app
+RUN pip install --no-cache-dir --upgrade requests pyyaml moon_utilities moon_db
+
+ADD conf2consul.py /root
+ADD run.sh /root
+
+CMD ["bash", "/root/run.sh" ] \ No newline at end of file