From 860159ccd003371001d97552f75d069868ea0379 Mon Sep 17 00:00:00 2001 From: Vectry Date: Tue, 10 Feb 2026 23:57:47 +0000 Subject: [PATCH] fix: use turbo --filter=web... to skip sdk-ts build in Docker The builder stage was running 'npx turbo build' which builds ALL workspace packages including sdk-ts (needs tsup). The web app only depends on @agentlens/database, not sdk-ts. Using --filter=web... builds only web and its transitive dependencies. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e3b0ddb..873af25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ FROM base AS builder COPY --from=deps /app/node_modules ./node_modules COPY . . RUN npx prisma generate --schema=packages/database/prisma/schema.prisma -RUN npx turbo build +RUN npx turbo build --filter=web... FROM base AS migrate COPY --from=deps /app/node_modules ./node_modules