Separate agent entrypoint and avoid documentation-only Docker rebuilds
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 18m5s

This commit is contained in:
2026-10-23 16:08:01 +08:00
parent 0a07f120df
commit 1defcf0b0a
6 changed files with 66 additions and 9 deletions
+8 -1
View File
@@ -10,7 +10,14 @@ COPY package.json package-lock.json ./
RUN npm ci
FROM dependencies AS build
COPY . .
# Only build inputs belong here: docs and operational notes must not bust this layer.
COPY tsconfig.json next-env.d.ts next.config.ts postcss.config.mjs ./
COPY src/ ./src/
COPY public/ ./public/
COPY scripts/ ./scripts/
COPY tests/ ./tests/
COPY db/ ./db/
COPY seed/ ./seed/
RUN npm run typecheck && npm test && npm run build && npm run test:smoke
FROM build AS integration