fix: disable lefthook during Docker build with LEFTHOOK=0
Build context lacks .git directory, causing lefthook install to fail
This commit is contained in:
parent
1fdc5effd7
commit
e2734d1091
@ -7,6 +7,7 @@ RUN corepack enable && corepack prepare pnpm@10 --activate
|
|||||||
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
|
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
ENV LEFTHOOK=0
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
RUN pnpm run build:antd
|
RUN pnpm run build:antd
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user