aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--moon_authz/Dockerfile2
-rw-r--r--moon_interface/Dockerfile2
-rw-r--r--moon_manager/Dockerfile2
-rw-r--r--moon_orchestrator/Dockerfile2
-rw-r--r--moon_wrapper/Dockerfile2
5 files changed, 10 insertions, 0 deletions
diff --git a/moon_authz/Dockerfile b/moon_authz/Dockerfile
index fea9555d..c44d7c23 100644
--- a/moon_authz/Dockerfile
+++ b/moon_authz/Dockerfile
@@ -3,6 +3,8 @@ FROM python:3
ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .
CMD ["python3", "-m", "moon_authz"] \ No newline at end of file
diff --git a/moon_interface/Dockerfile b/moon_interface/Dockerfile
index f4de15eb..069346c3 100644
--- a/moon_interface/Dockerfile
+++ b/moon_interface/Dockerfile
@@ -3,6 +3,8 @@ FROM python:3
ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .
CMD ["python3", "-m", "moon_interface"] \ No newline at end of file
diff --git a/moon_manager/Dockerfile b/moon_manager/Dockerfile
index b5eb4e02..630c275b 100644
--- a/moon_manager/Dockerfile
+++ b/moon_manager/Dockerfile
@@ -3,6 +3,8 @@ FROM python:3
ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .
CMD ["python3", "-m", "moon_manager"] \ No newline at end of file
diff --git a/moon_orchestrator/Dockerfile b/moon_orchestrator/Dockerfile
index e9f83094..4d75d6d7 100644
--- a/moon_orchestrator/Dockerfile
+++ b/moon_orchestrator/Dockerfile
@@ -3,6 +3,8 @@ FROM python:3
ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .
CMD ["python3", "-m", "moon_orchestrator"] \ No newline at end of file
diff --git a/moon_wrapper/Dockerfile b/moon_wrapper/Dockerfile
index 77ffaee9..00aeb3f1 100644
--- a/moon_wrapper/Dockerfile
+++ b/moon_wrapper/Dockerfile
@@ -3,6 +3,8 @@ FROM python:3
ADD . /root
WORKDIR /root/
RUN pip3 install -r requirements.txt
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.tar.gz); do pip install $FILE --upgrade; done; fi
+RUN if [ -d /root/dist ]; then for FILE in $(ls /root/dist/*.whl); do pip install $FILE --upgrade; done; fi
RUN pip3 install .
CMD ["python3", "-m", "moon_wrapper"]