diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 347f3278dcc5e45947f63f2e25bdc437eccebf5e..5b18e37f5238e6a3528986da2801b27f43c2cacd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -30,8 +30,8 @@ build-analyse-service:
   image: python:3.9-slim
   stage: build
   script:
-    - apt-get update && apt-get install -y pipenv
-    - "PIPENV_PIPFILE=./dbrepo-analyse-service/Pipfile pipenv install --dev"
+    - "pip install pipenv"
+    - "cd dbrepo-analyse-service && pipenv install --system --deploy"
 
 build-data-service:
   image: maven:3-openjdk-17