From 51d511b7df997b397c5e208f7bc2efe91b82d85a Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Tue, 26 Mar 2024 11:49:07 +0100 Subject: [READINESS] Add missing python modules to docker image With the new base image the requirements.txt is not loaded, therefor it has to be added into the dockerfile Issue-ID: OOM-3280 Change-Id: I00cdf1f60ae2e07d6b0fc7246798f2d241d17471 Signed-off-by: Andreas Geissler --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 79b2e42..cab5972 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,6 +3,8 @@ FROM nexus3.onap.org:10001/onap/integration-python:12.0.0 ENV CERT="/var/run/secrets/kubernetes.io/serviceaccount/ca.crt" ENV TOKEN="/var/run/secrets/kubernetes.io/serviceaccount/token" +COPY requirements.txt . +RUN pip install -r requirements.txt COPY ready.py . ENTRYPOINT ["/app/ready.py"] -- cgit 1.2.3-korg