From 3632bd25e444a9a1701d05c55090d4430e1b2b83 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Mon, 22 Jun 2026 16:10:49 +0700 Subject: [PATCH] chore: Update Dockerfile to refine cleanup process by targeting specific directories for file deletion, enhancing build efficiency and reducing unnecessary operations. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5e131c..17886df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ RUN pnpm turbo build --filter=web --filter=@cfdm/api \ && rm -rf /out/src /out/test /out/.turbo \ && rm -rf /out/node_modules/@cfdm/db/src /out/node_modules/@cfdm/db/scripts /out/node_modules/@cfdm/db/.turbo \ && rm -rf /out/node_modules/@cfdm/shared/src /out/node_modules/@cfdm/shared/.turbo \ - && find /out -path '*/node_modules/*' -prune -o -type f \( -name '*.d.ts' -o -name '*.map' -o -name 'tsconfig*.json' -o -name 'vitest.config.ts' -o -name 'drizzle.config.ts' \) -print -delete + && find /out/dist /out/node_modules/@cfdm -type f \( -name '*.d.ts' -o -name '*.map' -o -name 'tsconfig*.json' -o -name 'vitest.config.ts' -o -name 'drizzle.config.ts' \) -delete FROM node:${NODE_VERSION} RUN apt-get update \