spring boot why not store stactic images inside jar code example
Example: how to register a static assets folder spring boot
spring.resources.static-locations=classpath:/files/,classpath:/static-files
spring.resources.static-locations=classpath:/files/,classpath:/static-files