summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2024-03-26 11:49:07 +0100
committerAndreas Geissler <andreas-geissler@telekom.de>2024-03-26 12:15:12 +0100
commit51d511b7df997b397c5e208f7bc2efe91b82d85a (patch)
treee32b845742f672b819190dd7e292a5f614223f0c /Dockerfile
parentf89b63168f143136d6a6b9a9a7c73ece4100814d (diff)
[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 <andreas-geissler@telekom.de>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
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"]