This project shows how to run a Spring Boot app on Cloud Foundry.
Run this command to build the app (please note you need JDK 21+):
./mvnw clean package
No need to worry about Dockerfiles and a wall of YAML, the only thing you need to deploy apps on Cloud Foundry is a single command:
cf push
That's it!
Please note that this Spring Boot app leverages AppCDS to speed up startup time. The Java Buildpack actually takes care of creating a CDS archive for you. See the app manifest for details.
Contributions are always welcome!
Feel free to open issues & send PR.
Copyright © 2024 Broadcom, Inc. or its affiliates.
This project is licensed under the Apache Software License version 2.0.