fix: add git to Docker build image for lefthook
lefthook install requires git, which is missing from node:22-alpine
This commit is contained in:
parent
755517a068
commit
4afcf639dd
@ -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 ./
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user