The code inside this container is listening for HTTP requests on the port defined by the PORT environment variable and is not able to execute when it is not processing a request.
You can deploy to Cloud Run any container that respects these constraints, it will automatically run and scale without you having to worry about anything.
Follow a tutorial to build a "Hello World" application in your favorite language into a container image, and then deploy it to Cloud Run: