From 0b174e38f5efe4cd70a31c4cec7d0753b88e0437 Mon Sep 17 00:00:00 2001 From: YetAnotherSuite Dev Date: Mon, 20 Jul 2026 23:20:52 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Docker=20build=20=E2=80=94=20install=20a?= =?UTF-8?q?ll=20workspace=20deps,=20not=20filtered?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - API Dockerfile: install all workspace packages with Scope: all 11 workspace projects Already up to date Done in 596ms using pnpm v11.15.1 (without filter) so prisma CLI is available - Web Dockerfile: same fix for consistency - Copy full apps/ directory during deps stage --- apps/api/Dockerfile | 4 ++-- apps/web/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 87c821f..622df9c 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -6,8 +6,8 @@ WORKDIR /app COPY package.json pnpm-lock.yaml pnpm-workspace.yaml turbo.json ./ COPY tooling/ ./tooling/ COPY packages/ ./packages/ -COPY apps/api/ ./apps/api/ -RUN pnpm install --frozen-lockfile --filter @yetanother/api +COPY apps/ ./apps/ +RUN pnpm install --frozen-lockfile FROM deps AS builder WORKDIR /app diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 8a3e941..1c93160 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -6,8 +6,8 @@ WORKDIR /app COPY package.json pnpm-lock.yaml pnpm-workspace.yaml turbo.json ./ COPY tooling/ ./tooling/ COPY packages/ ./packages/ -COPY apps/web/ ./apps/web/ -RUN pnpm install --frozen-lockfile --filter @yetanother/web +COPY apps/ ./apps/ +RUN pnpm install --frozen-lockfile FROM deps AS builder WORKDIR /app