diff --git a/Dockerfile b/Dockerfile
index 0327c83cc5dbf77e3c09b62126382683b2725c40..b95bb19a3f939b23d46c856ec5f82ceb06fa2b89 100644
--- a/Dockerfile
+++ b/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 --platform=linux/amd64 registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.11-slim AS base
+FROM --platform=linux/amd64 registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/python:3.12-slim AS base
 
 # Some performance and disk-usage optimisations for Python within a docker container.
 ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1