Run a Node worker in a container. The worker processes jobs after startup and cleans up the current job when a shutdown request arrives. What to do: complete Dockerfile and the run command. Note: the app entry file is src/worker.js.
Review how a job-processing process finishes or cleans up work when the runtime requests shutdown.
In deployment environments, processes can be stopped at any time, so shutdown and cleanup behavior must be explicit.