diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30ccf779267944076eb7392c889f6b476e05e6da..26957e3a327c7c48da5c7b6b5fe2620c29c3b947 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -41,6 +41,7 @@ run-tests:
     - docker build
       --tag "${CONTAINER_TAG}-test"
       --target=test
+      --add-host=host.docker.internal:host-gateway
       "./app"
     # - echo ‘http://dl-cdn.alpinelinux.org/alpine/v3.6/main’ >> /etc/apk/repositories
     # - echo ‘http://dl-cdn.alpinelinux.org/alpine/v3.6/community’ >> /etc/apk/repositories