diff --git a/Dockerfile b/Dockerfile
index 14b5c75d952411821784c1bcefca792d5dbf4940..e0101394b136f5a24e5f2861daddffe98e372c62 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,7 +5,7 @@ RUN npm install && env NODE_OPTIONS=--openssl-legacy-provider ./node_modules/.bi
 
 # Debian bullseye can't build gostatic due to its strict dependency
 # on Go >1.17, so we build it separately.
-FROM golang:1.19 AS gobuild
+FROM golang:1.20 AS gobuild
 RUN go install github.com/piranha/gostatic@latest
 RUN go install git.autistici.org/ai/webtools/cmd/jsonsubst@latest
 RUN go install git.autistici.org/ai/webtools/cmd/sitesearch@latest