diff --git a/Dockerfile b/Dockerfile index 4a0fd4c..c48a0b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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' \