aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_router/Dockerfile
diff options
context:
space:
mode:
authorWuKong <rebirthmonkey@gmail.com>2017-07-19 14:01:30 +0200
committerWuKong <rebirthmonkey@gmail.com>2017-07-19 14:01:30 +0200
commit6a59009e64f727bcf3c67a8ae45a02e4137bfb99 (patch)
treed58fed674114f4ee8497efec8d303d0f4baba836 /moonv4/moon_router/Dockerfile
parentffd694ebadb1d3b4e140104f9f0a81837c0e7258 (diff)
update moon_router
Change-Id: Iafa79fce14d965dba2f21612eb9c2ae47599c6d7 Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'moonv4/moon_router/Dockerfile')
-rw-r--r--moonv4/moon_router/Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/moonv4/moon_router/Dockerfile b/moonv4/moon_router/Dockerfile
new file mode 100644
index 00000000..c4b542b3
--- /dev/null
+++ b/moonv4/moon_router/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
+
+ADD . /root
+WORKDIR /root/
+RUN pip3 install -r requirements.txt
+RUN pip3 install .
+
+CMD ["python3", "-m", "moon_router"] \ No newline at end of file