diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py
index 3478cfc9e9e1c6bfb88f0a4d910e415e5d921195..96271e234b9c8fc2b11bd57534add676e057c3cc 100644
--- a/build_pipeline_generator.py
+++ b/build_pipeline_generator.py
@@ -116,6 +116,7 @@ class ModuleBuildConfig:
 FROM python:3.13-slim AS base
 
 RUN mkdir -p /code
+
 WORKDIR /code
 
 ENV PIP_CACHE_DIR=/tmp/pip-cache
@@ -177,6 +178,8 @@ echo "{\\"auths\\":{\\"$CI_REGISTRY\\":{\\"username\\":\\"$CI_REGISTRY_USER\\",\
             f"--destination=$CI_REGISTRY_IMAGE/{self.image_full_name()}:{self.context.commit_sha}",
             f"--build-arg=GIT_COMMIT_SHA={self.context.commit_sha}",
             f"--cache=true",
+            f"--cache-run-layers=true",
+            f"--cache-copy-layers=true",
         ]
         
         if self.context.commit_tag is not None: