diff --git a/docker/Dockerfile b/docker/Dockerfile index eda123e..586db8c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,10 +19,8 @@ RUN pnpm install --shamefully-hoist --frozen-lockfile --prod=false # Copy the rest of the source code COPY . . -# 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 +# Build all packages in the workspace, respecting the dependency graph +RUN pnpm --stream -r build # 2. Production Stage: Install only production dependencies and copy built artifacts FROM node:22-alpine AS production diff --git a/tsconfig.base.json b/tsconfig.base.json index 9cc2da4..0a4ae69 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -8,10 +8,6 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, - "isolatedModules": true, - "baseUrl": ".", - "paths": { - "@open-archiver/types": ["packages/types/src"] - } + "isolatedModules": true } }