InseeFrLab/onyxia-api

Chore : Move away from fat jar to layered jars

Closed this issue · 0 comments

We currently add a fat jar to the docker image which is inefficient.
Spring boot supports layered jars out of the box, we could follow something like this : https://www.baeldung.com/spring-boot-docker-images#1-creating-layered-jars