diff options
author | 2017-12-23 21:49:35 +0100 | |
---|---|---|
committer | 2017-12-23 21:49:58 +0100 | |
commit | 1100c66ce03a059ebe7ece9734e799b49b3a5a9e (patch) | |
tree | a057e7e7511f6675a9327b79e6919f07c5f89f07 /moon_orchestrator/Dockerfile | |
parent | 7a4dfdde6314476ae2a1a1c881ff1e3c430f790e (diff) |
moonv4 cleanup
Change-Id: Icef927f3236d985ac13ff7376f6ce6314b2b39b0
Signed-off-by: WuKong <rebirthmonkey@gmail.com>
Diffstat (limited to 'moon_orchestrator/Dockerfile')
-rw-r--r-- | moon_orchestrator/Dockerfile | 15 |
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 |