From 8695f484ac1dcabd24291057f5d77bd2c57fce22 Mon Sep 17 00:00:00 2001 From: Wayne <5291640+ringoinca@users.noreply.github.com> Date: Sun, 3 Aug 2025 00:23:57 +0300 Subject: [PATCH] Docker build types package --- docker/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5c60437..3e8373d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -19,8 +19,11 @@ RUN pnpm install --frozen-lockfile --prod=false # Copy the rest of the source code COPY . . -# Build all packages -RUN pnpm build +# We need to build the types package first because other packages depend on it +RUN pnpm --filter @open-archiver/types build + +# Build all other packages +RUN pnpm build --filter=!@open-archiver/types # 2. Production Stage: Install only production dependencies and copy built artifacts FROM node:22-alpine AS production