Java is not Spring Boot.
For example, this is Python 3.8 compliant runtime on top of Graal - https://www.graalvm.org/reference-manual/python/
You can also compile your application into a native image (like Go?) - https://www.graalvm.org/reference-manual/native-image/
you can try it in the next 5 mins
1. docker pull ghcr.io/graalvm/graalvm-ce:latest
2. docker run -it ghcr.io/graalvm/graalvm-ce:latest bash
3. gu install python
4. graalpython -m venv myvenv