diff --git a/Dockerfile b/Dockerfile
index c3f365f..b1ec331 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,9 @@ RUN test -e /go/bin/headscale
 FROM docker.io/debian:bullseye-slim
 
 RUN apt-get update \
-    && apt-get install -y ca-certificates
+    && apt-get install -y ca-certificates \
+    && rm -rf /var/lib/apt/lists/* \
+    && apt-get clean
 
 COPY --from=build /go/bin/headscale /bin/headscale
 ENV TZ UTC