I have a Dockerfile that runs a python script to process a dataset and store in GCS. I've uploaded the image to GCR and I can run it with Cloud run. It runs fine except for the fact when the script execution is done, the container exits, see image.
This causes the service to fail. How do I ensure that while the container is scaled down to 0 it doesn't report that the service failed.