fix: set CI=true to skip lefthook install in Docker build
is-ci package checks CI env var to skip prepare hooks
This commit is contained in:
parent
e2734d1091
commit
19ff09f724
@ -7,7 +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
|
ENV CI=true
|
||||||
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