cmd/worker: bump Go version to 1.24.6 in Dockerfile

- mod file requires 1.24.6 version bump

Change-Id: Ia96e0b0fd2effe1c530db8f91e95ebd6f32a27cc
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/694755
Auto-Submit: Ethan Lee <ethanalee@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Markus Kusano <kusano@google.com>
diff --git a/cmd/worker/Dockerfile b/cmd/worker/Dockerfile
index cb94c58..1860cee 100644
--- a/cmd/worker/Dockerfile
+++ b/cmd/worker/Dockerfile
@@ -5,7 +5,7 @@
 # This Dockerfile expects the build context to be the repo root.
 
 ################################################################
-FROM golang:1.23 AS builder
+FROM golang:1.24.6 AS builder
 # If you change the Go version above, change the FROM line below as well.
 
 # Set the working directory outside $GOPATH to ensure module mode is enabled.
@@ -28,7 +28,7 @@
 RUN go build -mod=readonly ./cmd/worker
 
 ################################################################
-FROM golang:1.23
+FROM golang:1.24.6
 
 LABEL maintainer="Go VulnDB Team <go-vulndb-team@google.com>"