mirror of
https://github.com/Patiun/com.gregkilmer.www.git
synced 2026-11-07 19:58:24 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user