diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 809f82e885e66e58f0ca019c90b3d954bd783fa5..168156c67edc397d03e7bce3df46d5fbed347291 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,17 +1,14 @@
 # This file is a template, and might need editing before it works on your project.
 # Full project: https://gitlab.com/pages/plain-html
 
-image: python:3.8-alpine
+image: python:3.8-slim
 
 stages:
   - build
 
 pages:
-  tags:
-    - sphinx
-  stage: build
   script:
-    - python3 -m pip install sphinx rtd
+    - pip3 install -r requirements.txt
     - sphinx-build -b html docs/source/ public/
   artifacts:
     paths: