Add artifact-check to fail fast on broken builds
This commit is contained in:
parent
4b8e880a96
commit
0d36cf00f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue