fix: disable husky in Docker build (HUSKY=0)
Some checks are pending
CI / build-check-test (push) Waiting to run

This commit is contained in:
JAE 2026-03-27 03:11:59 +00:00
parent 62c057e18c
commit f7543e78f5

View file

@ -2,6 +2,7 @@ FROM node:20-slim
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
ENV HUSKY=0
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update && apt-get install -y --no-install-recommends \
git curl ca-certificates \ git curl ca-certificates \
@ -17,12 +18,13 @@ WORKDIR /monorepo
COPY . . COPY . .
# Install and build workspace packages in dependency order # Install and build workspace packages in dependency order
# HUSKY=0 prevents the prepare script from failing
RUN cd packages/ai && npm install && npm run build RUN cd packages/ai && npm install && npm run build
RUN cd packages/tui && npm install && npm run build RUN cd packages/tui && npm install && npm run build
RUN cd packages/agent && npm install && npm run build RUN cd packages/agent && npm install && npm run build
RUN cd packages/web-ui && npm install && npm run build RUN cd packages/web-ui && npm install && npm run build
# Install example app dependencies (resolves file: links from monorepo) # Install example app dependencies
RUN cd packages/web-ui/example && npm install RUN cd packages/web-ui/example && npm install
# Install Playwright Chromium # Install Playwright Chromium