aboutsummaryrefslogtreecommitdiffstats
path: root/moon_interface
diff options
context:
space:
mode:
authorThomas Duval <thomas.duval@orange.com>2018-03-22 17:32:02 +0100
committerThomas Duval <thomas.duval@orange.com>2018-03-22 17:32:02 +0100
commit4aa240a33637ffaba2eed26b85d28da2c6a3e074 (patch)
tree5c415394141bad4384cd87f79502b99b8cf7b458 /moon_interface
parent9ac76616f62ef73f093ce63017782dda6bd3fc9d (diff)
Allow to force the installation of dev python library in dist directory
Change-Id: I4629810db3c4b269f4b47b157bd1aa323d507d18
Diffstat (limited to 'moon_interface')
-rw-r--r--moon_interface/Dockerfile2
1 files changed, 2 insertions, 0 deletions
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