fix: use turbo --filter=web... to skip sdk-ts build in Docker
Some checks failed
Deploy AgentLens / deploy (push) Failing after 9s
Some checks failed
Deploy AgentLens / deploy (push) Failing after 9s
The builder stage was running 'npx turbo build' which builds ALL workspace packages including sdk-ts (needs tsup). The web app only depends on @agentlens/database, not sdk-ts. Using --filter=web... builds only web and its transitive dependencies.
This commit is contained in:
@@ -14,7 +14,7 @@ FROM base AS builder
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
RUN npx prisma generate --schema=packages/database/prisma/schema.prisma
|
||||
RUN npx turbo build
|
||||
RUN npx turbo build --filter=web...
|
||||
|
||||
FROM base AS migrate
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
|
||||
Reference in New Issue
Block a user