mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-20 12:23:38 +02:00
🔧 fix(ci): fix todo-backend build and remove obsolete clock app
- Fix todo-backend Dockerfile to build shared packages inline instead of using non-existent docker/shared/build-shared-packages.sh script - Remove clock-backend and clock-web from all CI/CD workflows (app no longer exists in the monorepo) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
304897261d
commit
8a6fe7ebb0
4 changed files with 7 additions and 19 deletions
|
|
@ -12,15 +12,10 @@ COPY package.json ./
|
|||
COPY pnpm-lock.yaml ./
|
||||
|
||||
# Copy shared packages (core packages for NestJS backends)
|
||||
COPY packages/shared-errors ./packages/shared-errors
|
||||
COPY packages/better-auth-types ./packages/better-auth-types
|
||||
COPY packages/shared-nestjs-auth ./packages/shared-nestjs-auth
|
||||
COPY packages/shared-nestjs-cors ./packages/shared-nestjs-cors
|
||||
|
||||
# Copy build script
|
||||
COPY docker/shared/build-shared-packages.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/build-shared-packages.sh
|
||||
|
||||
# Copy todo shared package and backend
|
||||
COPY apps/todo/packages/shared ./apps/todo/packages/shared
|
||||
COPY apps/todo/apps/backend ./apps/todo/apps/backend
|
||||
|
|
@ -29,10 +24,13 @@ COPY apps/todo/apps/backend ./apps/todo/apps/backend
|
|||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
# Build shared packages in dependency order
|
||||
RUN build-shared-packages.sh
|
||||
WORKDIR /app/packages/better-auth-types
|
||||
RUN pnpm build
|
||||
|
||||
# Build todo shared package
|
||||
WORKDIR /app/apps/todo/packages/shared
|
||||
WORKDIR /app/packages/shared-nestjs-auth
|
||||
RUN pnpm build
|
||||
|
||||
WORKDIR /app/packages/shared-nestjs-cors
|
||||
RUN pnpm build
|
||||
|
||||
# Build the backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue