From 4afcf639dd5dd7da9fec843833730f2e69a0115e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=AE=81?= <1772105645@qq.com> Date: Sun, 17 May 2026 19:26:06 +0800 Subject: [PATCH] fix: add git to Docker build image for lefthook lefthook install requires git, which is missing from node:22-alpine --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7545a02..59194c8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM node:22-alpine AS build WORKDIR /app +RUN apk add --no-cache git RUN corepack enable && corepack prepare pnpm@10 --activate COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./