I’m not overly familiar with Java/Spring Boot but I was able to get this very basic example spun up a while back.
I suspect this is a host/port configuration issue. You could likely remove:
ENV PORT=8087EXPOSE 8080
A port will be set by default to 10000 and be available in the PORT env var. And as per the above example, you’ll need to ensure the server address is configured to 0.0.0.0