vercel-clone icon indicating copy to clipboard operation
vercel-clone copied to clipboard

Containers are still running

Open vaibhavyadav-dev opened this issue 2 years ago • 1 comments

Problem : Containers are still running even after the build process completed Solution : Need to add publisher.disconnect(); on line 70 in /build-server/script.js This will ensure the docker shutdown after the upload process is completed. 💯

  • publisher.disconnect() will revoke the connection with redis server.

vaibhavyadav-dev avatar Feb 13 '24 11:02 vaibhavyadav-dev

Great @CaptainTron.

Alternatively, you can also add process.exit(0) after you have done uploading files to S3 in the container.

Thanks for pointing out.

piyushgarg-dev avatar Feb 14 '24 05:02 piyushgarg-dev