aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasteroide <thomas.duval@orange.com>2017-07-26 11:34:55 +0200
committerasteroide <thomas.duval@orange.com>2017-07-26 11:34:55 +0200
commit858bf62593c8da11782af8b8841302c0e7c9cef8 (patch)
treea8a0b8be4a5865fbcaa680b33dd89d51ee9f889c
parent43d6d020ca8dedcc8ba79233685925b064d37a41 (diff)
Put moon_utilities and moon_db in requirements.txt
Change-Id: Ie1f09b3efe770c1894c72fec9960e368231d6103
-rw-r--r--moonv4/moon_orchestrator/Dockerfile8
-rw-r--r--moonv4/moon_orchestrator/requirements.txt4
2 files changed, 7 insertions, 5 deletions
diff --git a/moonv4/moon_orchestrator/Dockerfile b/moonv4/moon_orchestrator/Dockerfile
index 9c1b4662..0425d959 100644
--- a/moonv4/moon_orchestrator/Dockerfile
+++ b/moonv4/moon_orchestrator/Dockerfile
@@ -1,11 +1,11 @@
-FROM debian:latest
+FROM ubuntu:latest
RUN apt update && apt install python3.5 python3-pip -y
-RUN pip3 install moon_utilities moon_db pip --upgrade
+RUN pip3 install pip --upgrade
ADD . /root
WORKDIR /root/
-RUN pip3 install -r requirements.txt
-RUN pip3 install .
+RUN pip3 install -r requirements.txt --upgrade
+RUN pip3 install . --upgrade
CMD ["python3", "-m", "moon_orchestrator"] \ No newline at end of file
diff --git a/moonv4/moon_orchestrator/requirements.txt b/moonv4/moon_orchestrator/requirements.txt
index ef41155c..c7653278 100644
--- a/moonv4/moon_orchestrator/requirements.txt
+++ b/moonv4/moon_orchestrator/requirements.txt
@@ -7,4 +7,6 @@ vine
jinja2
sqlalchemy
pymysql
-werkzeug \ No newline at end of file
+werkzeug
+moon_utilities
+moon_db \ No newline at end of file