aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_interface/Dockerfile
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-07-25 18:18:05 +0200
committerasteroide <thomas.duval@orange.com>2017-07-25 18:18:05 +0200
commitc6cbfea94f51536b11e46bfe7053e1fb96c0a968 (patch)
treef16d7876fda1622e629dee16b481f524a7dbf459 /moonv4/moon_interface/Dockerfile
parent8c643f53acb79153ab93b2e6fee8bad301af869f (diff)
Containerize the orchestrator and all components
Change-Id: I9234c3d286e0a273c878bbac66efcd9696490900
Diffstat (limited to 'moonv4/moon_interface/Dockerfile')
-rw-r--r--moonv4/moon_interface/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/moonv4/moon_interface/Dockerfile b/moonv4/moon_interface/Dockerfile
new file mode 100644
index 00000000..5bbe3df0
--- /dev/null
+++ b/moonv4/moon_interface/Dockerfile
@@ -0,0 +1,11 @@
+FROM ubuntu:latest
+
+RUN apt update && apt install python3.5 python3-pip -y
+RUN pip3 install moon_utilities moon_db pip --upgrade
+
+ADD . /root
+WORKDIR /root/
+RUN pip3 install -r requirements.txt
+RUN pip3 install .
+
+CMD ["python3", "-m", "moon_interface"] \ No newline at end of file