diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7bcd583f818af84cf8c47c0289fa1d1b1db958e4..a9b8e0b152f70fc5f1867c3710d176957d2f41f2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,7 +8,7 @@ variables:
 
 PHPstan:
   stage: test
-  image: composer:2.8.3
+  image: composer:2.8.4
   needs: []
   before_script:
     - composer install --ignore-platform-reqs
@@ -54,7 +54,7 @@ PHPCS:
 
 Unit tests:
   stage: test
-  image: composer:2.8.3
+  image: composer:2.8.4
   needs: []
   variables:
     XDEBUG_MODE: coverage
@@ -84,7 +84,7 @@ Webpack:
 
 Composer:
   stage: build
-  image: composer:2.8.3
+  image: composer:2.8.4
   needs: []
   script:
     - apk add php-cli composer php-gd php-ctype php-xml php-simplexml php-xmlwriter php-tokenizer php-session php-dom php-mysqli php-pdo_mysql php-sockets
diff --git a/Dockerfile b/Dockerfile
index d85d57921028c4fbdb30203e370bb33f0d84d90e..9e1facbf555fd7cfea9c8094fa022ce4e136fedc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,7 +4,7 @@ COPY . ./
 RUN yarn install --frozen-lockfile && \
     yarn build
 
-FROM --platform=$BUILDPLATFORM composer:2.8.3@sha256:26bbf85fccb36247181de6f4a2beddac47d4b352c0c19249a3b4fa2abf1e38ad as buildPHP
+FROM --platform=$BUILDPLATFORM composer:2.8.4@sha256:e4d7757e0c7ae48d9ddc65c07215ce602cbdcc909dc0dd8e30626ffd865fc968 as buildPHP
 WORKDIR /app
 COPY . ./
 RUN composer install --no-cache --no-interaction --prefer-dist --ignore-platform-reqs --optimize-autoloader