aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_orchestrator/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/moon_orchestrator/Dockerfile')
-rw-r--r--moonv4/moon_orchestrator/Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/moonv4/moon_orchestrator/Dockerfile b/moonv4/moon_orchestrator/Dockerfile
index 0425d959..b68c130f 100644
--- a/moonv4/moon_orchestrator/Dockerfile
+++ b/moonv4/moon_orchestrator/Dockerfile
@@ -1,6 +1,9 @@
FROM ubuntu:latest
-RUN apt update && apt install python3.5 python3-pip -y
+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
@@ -8,4 +11,4 @@ WORKDIR /root/
RUN pip3 install -r requirements.txt --upgrade
RUN pip3 install . --upgrade
-CMD ["python3", "-m", "moon_orchestrator"] \ No newline at end of file
+CMD ["python3", "bootstrap.py"] \ No newline at end of file