From a7b6439418ff732124d47ec948bc73d9e74ba732 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Thu, 18 Jul 2024 20:41:41 -0800 Subject: [PATCH] improve note --- d.worker.dockerfile | 5 +++++ packages/temporal-worker/package.json | 2 +- packages/temporal-worker/tsconfig.json | 3 +-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/d.worker.dockerfile b/d.worker.dockerfile index a368a42..ba0db7e 100644 --- a/d.worker.dockerfile +++ b/d.worker.dockerfile @@ -1,5 +1,8 @@ ## d.worker.dockerfile ## +## @futureporn/worker is the system component which runs background tasks. +## Tasks such as thumbnail generation, video encoding, file transfers, etc. +## ## 'temporal-worker' is already a pod name (temporal helm chart creates it for it's internal use) ## so our docker image is called fp/worker, not fp/temporal-worker ## not that we need to name the docker image differently, but @@ -61,6 +64,8 @@ RUN pnpm --filter=!@futureporn/temporal-workflows -r build ## Deploy (copy all production code into one place) RUN pnpm deploy --filter=@futureporn/temporal-worker --prod /prod/temporal-worker +RUN ls -lash /prod/temporal-worker +# RUN ls -lash /prod/temporal-worker/ FROM base AS worker COPY --from=build /prod/temporal-worker . diff --git a/packages/temporal-worker/package.json b/packages/temporal-worker/package.json index 3c7bbf8..6c558c8 100644 --- a/packages/temporal-worker/package.json +++ b/packages/temporal-worker/package.json @@ -1,7 +1,7 @@ { "name": "@futureporn/temporal-worker", "type": "module", - "version": "1.2.0", + "version": "1.3.0", "private": true, "files": [ "dist" diff --git a/packages/temporal-worker/tsconfig.json b/packages/temporal-worker/tsconfig.json index fd2bfd2..ef7d16b 100644 --- a/packages/temporal-worker/tsconfig.json +++ b/packages/temporal-worker/tsconfig.json @@ -22,8 +22,7 @@ }, // Include the necessary files for your project "include": [ - "./src/**/*.ts", - "./src/**/*.tsx" + "./src/**/*.ts" ], "exclude": [ "node_modules"