This commit is contained in:
shafi54 2026-03-16 21:14:23 +05:30
parent 0c84808637
commit a4758ea9cd
2 changed files with 9 additions and 2 deletions

7
.dockerignore Normal file
View file

@ -0,0 +1,7 @@
**/node_modules
**/dist
apps/users-ui/app
apps/users-ui/src
apps/admin-ui/app
apps/users-ui/src

View file

@ -15,8 +15,8 @@ COPY packages/shared/ ./packages/shared
COPY packages/ui/package.json ./packages/ui/ COPY packages/ui/package.json ./packages/ui/
RUN bun install -g turbo RUN bun install -g turbo
COPY . . COPY . .
RUN turbo prune --scope=backend --scope=fallback-ui --scope=common-ui --scope=@packages/shared --docker RUN turbo prune --scope=backend --scope=fallback-ui --scope=@packages/shared --docker
RUN find . -path "./node_modules" -prune -o -print # RUN find . -path "./node_modules" -prune -o -print
# 3. ---- Builder ---- # 3. ---- Builder ----
FROM base AS builder FROM base AS builder