Add artifact-check to fail fast on broken builds

This commit is contained in:
zvictor
2026-03-05 14:22:45 -03:00
parent 4b8e880a96
commit 0d36cf00f8

View File

@@ -24,6 +24,7 @@ COPY --from=deps /app /app
COPY . .
RUN pnpm --filter @paperclipai/ui build
RUN pnpm --filter @paperclipai/server build
RUN test -f server/dist/index.js || (echo "ERROR: server build output missing" && exit 1)
FROM base AS production
WORKDIR /app