From d0efa200d95066bd28a1cf041784fc7ef1b95a11 Mon Sep 17 00:00:00 2001 From: ARUNAVO RAY Date: Fri, 27 Feb 2026 11:12:35 +0530 Subject: [PATCH] fix(docker): add git and git-lfs to runner image (#198) The runner stage was missing git, causing pre-sync backups to fail with "Executable not found in $PATH: git". The backup feature (enabled by default) shells out to git for clone --mirror and bundle create. Closes #196 Co-authored-by: Claude Opus 4.6 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 84fa0c6..c83c8b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,8 @@ RUN bun install --production --omit=peer --frozen-lockfile FROM oven/bun:1.3.9-debian AS runner WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends \ - wget sqlite3 openssl ca-certificates \ + git git-lfs wget sqlite3 openssl ca-certificates \ + && git lfs install \ && rm -rf /var/lib/apt/lists/* COPY --from=pruner /app/node_modules ./node_modules COPY --from=builder /app/dist ./dist