aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_authz
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_authz
parent8c643f53acb79153ab93b2e6fee8bad301af869f (diff)
Containerize the orchestrator and all components
Change-Id: I9234c3d286e0a273c878bbac66efcd9696490900
Diffstat (limited to 'moonv4/moon_authz')
-rw-r--r--moonv4/moon_authz/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/moonv4/moon_authz/Dockerfile b/moonv4/moon_authz/Dockerfile
new file mode 100644
index 00000000..6ecc8f2d
--- /dev/null
+++ b/moonv4/moon_authz/Dockerfile
@@ -0,0 +1,13 @@
+FROM ubuntu:latest
+
+ENV UUID=null
+
+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_authz"] \ No newline at end of file