fix(docker): copy patches into install stages

This commit is contained in:
joshuafhiggins committed 2026-10-22 20:35:15 -04:00 Verified
1 parent 83572e852b
commit 20442ff783
1 file changed
+3
+3
View File
@@ -27,6 +27,8 @@ WORKDIR /app
# Only manifests needed for @otunes/web and its workspace dependency (@otunes/convex).
# Mobile is intentionally omitted so its deps are never installed.
COPY package.json pnpm-lock.yaml .npmrc ./
# pnpm validates patches even when their packages are outside the install filter.
COPY patches ./patches
COPY apps/web/package.json ./apps/web/
COPY packages/convex/package.json ./packages/convex/
@@ -81,6 +83,7 @@ FROM node:${NODE_VERSION} AS convex-functions
WORKDIR /app
COPY package.json pnpm-lock.yaml .npmrc ./
COPY patches ./patches
COPY packages/convex/package.json ./packages/convex/
RUN printf '%s\n' \