diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3798c44ccd6c26e8d19d3fc697e58df5e6339fb0..dd5242d8500ebfc94a44106ad60163a5c7eb8734 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -114,6 +114,10 @@ behave-integration:
         POSTGRES_DB: postgres
     - name: ${CI_REGISTRY_IMAGE}/kratos:${CI_COMMIT_REF_NAME}
       alias: kratos
+      command:
+        - serve
+        - --config
+        - /etc/config/kratos.yaml
     - name: docker.io/oryd/hydra:v1.10.7-alpine
       alias: hydra
       command:
diff --git a/kratos/Dockerfile b/kratos/Dockerfile
index 788014fd1d48cbc19997372883808d94bd9ace1d..fe191c3cdd027a5270ea670f235599c1cd94a087 100644
--- a/kratos/Dockerfile
+++ b/kratos/Dockerfile
@@ -4,6 +4,6 @@ FROM oryd/kratos:latest
 ENV DSN=postgres://postgres:postgres@postgres:5432/postgres
 
 COPY identity.default.schema.json /etc/config/identity.default.schema.json
-COPY kratos.yaml /etc/config/kratos/kratos.yaml
+COPY kratos.yaml /etc/config/kratos.yaml
 COPY kratos.yaml /etc/config/kratos/kratos.yml