fix: disable husky in Docker build (HUSKY=0)
Some checks are pending
CI / build-check-test (push) Waiting to run
Some checks are pending
CI / build-check-test (push) Waiting to run
This commit is contained in:
parent
62c057e18c
commit
f7543e78f5
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,7 @@ FROM node:20-slim
|
|||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
|
||||
ENV HUSKY=0
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
git curl ca-certificates \
|
||||
|
|
@ -17,12 +18,13 @@ WORKDIR /monorepo
|
|||
COPY . .
|
||||
|
||||
# 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/tui && npm install && npm run build
|
||||
RUN cd packages/agent && 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
|
||||
|
||||
# Install Playwright Chromium
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue