diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 05e284a3566fc52c7d482ae3e2657780404beb7b..21e21223478a4d4c9ba32e2300dc847e24e8d86e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,7 +2,6 @@ variables:
   GIT_SUBMODULE_STRATEGY: recursive
 
 pages:
-  #image: davidbergstrom/pycommandcenterenv
   image: gitlab.liu.se:5000/starcraft-ai-course/pycommandcenter
   stage: deploy
   script:
@@ -19,5 +18,5 @@ pages:
   artifacts:
     paths:
       - public
-        #  only:
-#    - master
+  only:
+    - master
diff --git a/Dockerfile b/Dockerfile
index f2f14348e0a9df74c8a28406c7f492aef3dcff1f..dd5cba9b752d26bb141aa2e48ef23f7bdb17b9fc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,9 @@
-FROM ubuntu:22.04
+# Sets up a Ubuntu 24.04 LTS environment with Python 3.12 suitable for building PyCommandCenter and its documentation
 
-ENV HOME=/root
+FROM ubuntu:24.04
+LABEL org.opencontainers.image.authors="daniel.de.leng@liu.se"
+
+RUN apt update && apt install -y build-essential cmake python3-full python3-pybind11 python3-pip python3-sphinx python3-sphinx-design
 
+ENV HOME=/root
 WORKDIR /root