Docker: cache deps layer for faster rebuilds (#605)

This commit is contained in:
Zach Knickerbocker authored and GitHub committed 2026-01-09 14:23:06 -06:00
1 parent e8dbb350ae
commit c6fc7c2ea6
3 files changed
+47 -2

No files matched your search

+7 -1
View File
@@ -214,9 +214,15 @@ RUN curl -L https://github.com/steipete/wacli/releases/latest/download/wacli_Lin
# Add more binaries below using the same pattern
WORKDIR /app
COPY . .
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml .npmrc ./
COPY ui/package.json ./ui/package.json
COPY patches ./patches
COPY scripts ./scripts
RUN corepack enable
RUN pnpm install --frozen-lockfile
COPY . .
RUN pnpm build
RUN pnpm ui:install
RUN pnpm ui:build