vercel-clone
vercel-clone copied to clipboard
Containers are still running
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.
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.