aboutsummaryrefslogtreecommitdiffstats
path: root/moon_orchestrator/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'moon_orchestrator/Dockerfile')
-rw-r--r--moon_orchestrator/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/moon_orchestrator/Dockerfile b/moon_orchestrator/Dockerfile
new file mode 100644
index 00000000..aafe1784
--- /dev/null
+++ b/moon_orchestrator/Dockerfile
@@ -0,0 +1,15 @@
+FROM ubuntu:latest
+
+ENV CONSUL_HOST=consul
+ENV CONSUL_PORT=8500
+
+RUN apt update && apt install python3.5 python3-pip python3-mysql.connector -y
+RUN pip3 install pip --upgrade
+
+ADD . /root
+WORKDIR /root/
+RUN pip3 install -r requirements.txt --upgrade
+#RUN pip3 install /root/dist/* --upgrade
+RUN pip3 install . --upgrade
+
+CMD ["python3", "-m", "moon_orchestrator"] \ No newline at end of file