From 6864edaf59d9526acf7819e9a9e89706cd27bdfb Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Tue, 12 Mar 2024 16:35:58 +0100 Subject: [PATCH] fix(docker): Cache source build Signed-off-by: rjshrjndrn --- ee/api/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ee/api/Dockerfile b/ee/api/Dockerfile index 33e5bfecf..90c1f7c48 100644 --- a/ee/api/Dockerfile +++ b/ee/api/Dockerfile @@ -11,6 +11,8 @@ ENV SOURCE_MAP_VERSION=0.7.4 \ WORKDIR /work COPY requirements.txt ./requirements.txt +# Caching the source build +RUN pip install --no-cache-dir --upgrade python3-saml==1.16.0 --no-binary=lxml RUN pip install --no-cache-dir --upgrade -r requirements.txt COPY . .