Separate agent entrypoint and avoid documentation-only Docker rebuilds
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 18m5s
PROMPT Docker CI and deployment / verify-and-deploy (push) Successful in 18m5s
This commit is contained in:
+8
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user