Copy tsconfig.base.json into the site build stage

The schema package's tsconfig extends the root tsconfig.base.json, and
Vite reads it while bundling the site, so the image build failed with
"Tsconfig not found /app/tsconfig.base.json".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
This commit is contained in:
Claude
2026-10-12 01:57:47 +00:00
parent 7706afbdac
commit b1f49c63b1
+2
View File
@@ -33,6 +33,8 @@ RUN npm run check
# ---------- the site's server build ---------- # ---------- the site's server build ----------
FROM deps AS site-build FROM deps AS site-build
# Workspace packages' tsconfigs extend the root one; Vite reads them during the build.
COPY tsconfig.base.json ./
COPY packages packages COPY packages packages
COPY services/site services/site COPY services/site services/site
RUN npm run build -w @gk/site RUN npm run build -w @gk/site