You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: webapp/README.md
+9-37Lines changed: 9 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,7 +190,7 @@ This project uses type-safe server actions with authentication:
190
190
191
191
Asynchronous jobs are Lambda functions that handle long-running or background tasks. The `job.Dockerfile` builds all TypeScript files in `src/jobs/` into separate Lambda handlers using `esbuild src/jobs/*.ts --bundle`.
192
192
193
-
**Project structure:**
193
+
**File structure:**
194
194
195
195
For simple jobs, place a single file directly under `src/jobs/`:
cmd: ['async-job-runner.handler'], // Override the default CMD
220
+
file: 'job.Dockerfile',
221
+
})
250
222
```
251
223
252
-
**Note:** All jobs share the same `job.Dockerfile`. No individual Dockerfiles are needed. To deploy jobs, configure them in the CDK stack (see `cdk/lib/constructs/async-job.ts`).
224
+
This allows multiple Lambda functions to use the same Docker image with different handlers.
0 commit comments