diff --git a/Dockerfile b/Dockerfile index 2ba1918..126a468 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,7 +73,6 @@ USER appuser # Set Node.js to production mode ENV NODE_ENV=production -# Run the application +# Run Node as PID 1 so SIGTERM reaches the worker and active jobs can drain. # The "start" command tells the worker to connect to LiveKit and begin waiting for jobs. -# Your package.json must contain a "start" script, such as `"start": "node src/main.ts start"` -CMD [ "pnpm", "start" ] \ No newline at end of file +CMD [ "node", "src/main.ts", "start" ]