From fc82e24ead0e9d9bbdc133d81607b0a2b4306c01 Mon Sep 17 00:00:00 2001 From: Chris Farhood Date: Wed, 20 May 2026 12:49:56 +0000 Subject: [PATCH] fix(docker): use absolute tsconfig path for api build When pnpm --filter runs the api package build, tsc cannot find the tsconfig.json. Use an absolute path to avoid any ambiguity about the working directory context. Co-Authored-By: Paperclip --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3f45aa8..b96f705 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,8 +15,8 @@ RUN mkdir -p /home/node/.cache/node/corepack COPY packages/ packages/ COPY src/ src/ RUN pnpm --filter @groombook/types build && \ - cd packages/db && pnpm build && cd ../.. && \ - pnpm build + pnpm --filter @groombook/db build && \ + /app/node_modules/.bin/tsc -p /app # Runtime FROM node:20-alpine AS runner