diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 70c3107a0f6750d6846a1b15cf97ca0d451d1fc9..5c465bbbdf80a2db6343c23993a87fdf7d9a29c3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: python:3.9
+image: docker:19.03.0
 
 variables:
   MYSQL_DATABASE: $MYSQL_DATABASE
@@ -97,13 +97,10 @@ test:
     WEB_ROOT: http://localhost:3000
   before_script:
     - source ./venv/bin/activate
-    - apt update -y && apt upgrade -y
-    - apt install -y screen
   script:
     - cd ./backend
-    - screen -S new_screen
-    - python -m uvicorn main:app --port=80 --host 0.0.0.0
-    - screen -d new_screen
+    - docker build -t app ./backend
+    - docker run --detach -p 8000:80 app --env-file ./backend/.env
     - curl "http://localhost:8000/api/health"
 
 #######################################################################################################################################