From 7ebd43504424d452f7fbd8a85145d53a2a01201a Mon Sep 17 00:00:00 2001 From: mAi Date: Fri, 22 May 2026 11:36:44 +0200 Subject: [PATCH] fix(docker): include .git in build context so healthz reports real SHA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit .dockerignore excluded .git/, so `git rev-parse --short HEAD` inside the Dockerfile build silently fell back to "unknown" and /healthz reported `version: unknown` on every deploy. Remove the .git entry; the Dockerfile already runs git inside the build stage and Dokploy clones --depth 1. After deploy, `curl https://projax.msbls.de/healthz | tail -1` returns the short commit SHA matching `git rev-parse --short HEAD` on main — deploy verification becomes a one-shot SHA match instead of inspecting container task IDs on mlake. --- .dockerignore | 1 - 1 file changed, 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index b9bb8eb..ffda5da 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,3 @@ -.git .worktrees .m .claude