diff --git a/api/build_config.py b/api/build_config.py
index f4df1f92d7928d67327e99dc4bc61a5420bccade..f01ab333e401102ea989a4e3def222c405310d9d 100644
--- a/api/build_config.py
+++ b/api/build_config.py
@@ -26,7 +26,8 @@ CI_TEST_JOB_TEMPLATE = """\
 timeout: 30m
 variables:
     VIDEOAG_CONFIG: /code/config/api_example_config.py
-script: -test
+script:
+    - ./docker_start.sh -test
 artifacts:
     paths:
         - /code/coverage/report.txt
diff --git a/build_pipeline_generator.py b/build_pipeline_generator.py
index 5437b436fa02345075d56320a3bad0da94cc8878..21e0ae666e6f71a6bbeb033e12fefdb6a198f3c6 100644
--- a/build_pipeline_generator.py
+++ b/build_pipeline_generator.py
@@ -210,6 +210,7 @@ test-{self.target_image_name}:
     needs: [{self.ci_build_job_name()}]
     image:
         name: $CI_REGISTRY_IMAGE/{self.image_full_name()}:{self.context.commit_sha}
+        entrypoint: [""]
 """
         res += "    " + "\n    ".join(self.ci_test_job_template.splitlines()) + "\n"
         return res