diff --git a/Dockerfile b/Dockerfile
index d9ec2f56dee1b9290ff002ed02cc538b09644309..28317a35985c7e368cd54fbdef78a0411bddac67 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,3 +1,4 @@
+# syntax=docker/dockerfile:1
 FROM registry.gitlab.teklia.com/arkindex/backend/base:gitlab-teklia as build
 
 RUN mkdir build
@@ -41,7 +42,10 @@ RUN chown -R ark:teklia /backend_static
 # Copy Version file
 COPY VERSION /etc/arkindex.version
 
-# Run with Daphne
+HEALTHCHECK --start-period=1m --start-interval=1s --interval=1m --timeout=5s \
+  CMD wget --spider --quiet http://localhost/api/v1/public-key/ || exit 1
+
+# Run with Gunicorn
 ENV PORT 80
 EXPOSE 80
 CMD ["manage.py", "gunicorn", "--host=0.0.0.0"]
diff --git a/Dockerfile.binary b/Dockerfile.binary
index 78e741af1ffb4c5f76f70d2274f020eeecc1101c..a4e90ae72e885e29baa0d0e985d1f845c2d8a5a1 100644
--- a/Dockerfile.binary
+++ b/Dockerfile.binary
@@ -1,3 +1,4 @@
+# syntax=docker/dockerfile:1
 FROM python:3.10-slim-bookworm AS compilation
 
 RUN apt-get update && apt-get install --no-install-recommends -y build-essential wget
@@ -87,6 +88,9 @@ COPY arkindex/documents/export/*.sql /usr/share/arkindex/documents/export/
 # Otherwise Django will not load the compiled module
 RUN for cmd in $(cat /usr/share/arkindex/commands.txt); do mkdir -p $(dirname $cmd); touch $cmd; done
 
+HEALTHCHECK --start-period=1m --start-interval=1s --interval=1m --timeout=5s \
+  CMD wget --spider --quiet http://localhost/api/v1/public-key/ || exit 1
+
 # Run gunicorn server
 ENV PORT=80
 EXPOSE 80