From 10d9cc59ddb55beeb042b7087dd7855166cc356d Mon Sep 17 00:00:00 2001 From: rajdip-b Date: Wed, 4 Dec 2024 01:05:20 +0530 Subject: [PATCH] chore(web): Update dockerfile --- apps/web/Dockerfile | 4 +--- package.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile index 5e3d5a7e..72e8970a 100644 --- a/apps/web/Dockerfile +++ b/apps/web/Dockerfile @@ -27,9 +27,7 @@ RUN pnpm install --no-cache --ignore-scripts COPY --from=builder /app/out/full/ . COPY turbo.json turbo.json - - -RUN pnpm turbo build --filter=web... +RUN pnpm build:web FROM base AS runner WORKDIR /app diff --git a/package.json b/package.json index b0db2b32..91df951e 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "lint:schema": "turbo run lint --filter=@keyshade/schema", "build": "turbo run build", "build:api": "pnpm db:generate-types && turbo run build --filter=api", - "build:web": "turbo run build --filter=web", + "build:web": "pnpm build:api-client && turbo run build --filter=web", "build:platform": "turbo run build --filter=platform", "build:cli": "pnpm build:secret-scan && pnpm build:api-client && turbo run build --filter=cli", "build:api-client": "pnpm build:schema && turbo run --filter=@keyshade/api-client build",