From 48dd52131d985dbba0a0b140e8820cac81ba27ad Mon Sep 17 00:00:00 2001 From: Julius Unverfehrt Date: Wed, 21 Sep 2022 13:47:40 +0200 Subject: [PATCH] Pull request #35: update test dockerfile Merge in RR/image-prediction from make-sec-build-work to master Squashed commit of the following: commit 08149d3a99681f4900a7d4b6a5f656b1c25ebdb3 Merge: 76b5a45 0538377 Author: Julius Unverfehrt Date: Wed Sep 21 13:43:24 2022 +0200 Merge branch 'master' of ssh://git.iqser.com:2222/rr/image-prediction into make-sec-build-work commit 76b5a4504adc709107af9e5958970ec24ae3f5ef Author: Julius Unverfehrt Date: Wed Sep 21 13:41:46 2022 +0200 update test dockerfile --- Dockerfile_tests | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Dockerfile_tests b/Dockerfile_tests index a05a4a3..211c238 100644 --- a/Dockerfile_tests +++ b/Dockerfile_tests @@ -6,15 +6,23 @@ FROM ${BASE_ROOT}image-prediction:${VERSION_TAG} WORKDIR /app/service COPY src src +COPY incl/pyinfra incl/pyinfra +COPY incl/pdf2image incl/pdf2image COPY data data COPY image_prediction image_prediction COPY setup.py setup.py COPY requirements.txt requirements.txt COPY config.yaml config.yaml +COPY banner.txt banner.txt # Install module & dependencies -RUN python3 -m pip install -e . RUN python3 -m pip install -r requirements.txt +RUN python3 -m pip install -r incl/pyinfra/requirements.txt +RUN python3 -m pip install -r incl/pdf2image/requirements.txt + +RUN python3 -m pip install -e . +RUN python3 -m pip install -e incl/pyinfra +RUN python3 -m pip install -e incl/pdf2image RUN apt update --yes RUN apt install vim --yes