diff --git a/template/.gitlab/webapp.gitlab-ci.yml b/template/.gitlab/webapp.gitlab-ci.yml
index c6844523d7dc2ad473340d68289269914da20cda..123f7e2db57b4640713d3f352eb022d66c2a66f6 100644
--- a/template/.gitlab/webapp.gitlab-ci.yml
+++ b/template/.gitlab/webapp.gitlab-ci.yml
@@ -1,10 +1,10 @@
 include:
   - project: "uis/devops/continuous-delivery/ci-templates"
     file: "/auto-devops/common-pipeline.yml"
-    ref: v6.7.3
+    ref: v6.8.0
   - project: "uis/devops/continuous-delivery/ci-templates"
     file: "/auto-devops/artifact-registry.yml"
-    ref: v6.7.3
+    ref: v6.8.0
 
 variables:
   DAST_DISABLED: "1"
diff --git a/template/.pre-commit-config.yaml b/template/.pre-commit-config.yaml
index 909b26efab00f996d722791b5f628d2fb841c6a4..2815de8c37a8fdb4760bb0fbc022e86965a39f93 100644
--- a/template/.pre-commit-config.yaml
+++ b/template/.pre-commit-config.yaml
@@ -37,12 +37,12 @@ repos:
       - id: black
 
   - repo: https://github.com/PyCQA/isort
-    rev: 6.0.0
+    rev: 6.0.1
     hooks:
       - id: isort
 
   - repo: https://github.com/pycqa/flake8
-    rev: 7.0.0
+    rev: 7.2.0
     hooks:
       - id: flake8
 
@@ -52,7 +52,7 @@ repos:
       - id: mypy
 
   - repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
-    rev: v9.21.0
+    rev: v9.22.0
     hooks:
       - id: commitlint
         stages: [commit-msg]
diff --git a/template/Dockerfile b/template/Dockerfile
index 9a0a3eb32ae6f15ed70b5c1c4ea6f2531291f7a4..da19f645fe1a9742dab797d72c94bcea087583ea 100644
--- a/template/Dockerfile
+++ b/template/Dockerfile
@@ -4,7 +4,7 @@
 # If you change the version here, update pyproject.toml and the version used in
 # CI. We explicitly specify the platform here so that it matches the platform
 # used in deployment.
-FROM registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.11-slim AS base
+FROM registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.13-slim AS base
 
 # Some performance and disk-usage optimisations for Python within a docker container.
 ENV PYTHONUNBUFFERED=1 \