types package path reference

This commit is contained in:
Wayne
2025-08-03 01:21:19 +03:00
parent 181f4fd46c
commit 3ff50ec155
3 changed files with 13 additions and 5 deletions

View File

@@ -19,8 +19,10 @@ RUN pnpm install --shamefully-hoist --frozen-lockfile --prod=false
# Copy the rest of the source code
COPY . .
# Build the entire project
RUN pnpm exec tsc --build tsconfig.build.json
# Build packages in order.
RUN pnpm --filter @open-archiver/types build
RUN pnpm --filter @open-archiver/backend build
RUN pnpm --filter @open-archiver/frontend build
# 2. Production Stage: Install only production dependencies and copy built artifacts
FROM node:22-alpine AS production