aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_manager/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_manager/Dockerfile
parent8c643f53acb79153ab93b2e6fee8bad301af869f (diff)
Containerize the orchestrator and all components
Change-Id: I9234c3d286e0a273c878bbac66efcd9696490900
Diffstat (limited to 'moonv4/moon_manager/Dockerfile')
-rw-r--r--moonv4/moon_manager/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/moonv4/moon_manager/Dockerfile b/moonv4/moon_manager/Dockerfile
new file mode 100644
index 00000000..71b1954a
--- /dev/null
+++ b/moonv4/moon_manager/Dockerfile
@@ -0,0 +1,12 @@
+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 pip install dist/* --upgrade
+RUN pip3 install .
+
+CMD ["python3", "-m", "moon_manager"] \ No newline at end of file