skip to Main Content

Docker – How to include .png files in Quarkus build

I have .png files in src/main/resources that I want to access on my deployed Quarkus app, but when I use Thread.currentThread().getContextClassLoader().getResource("image.png") it points me to the jar file. io.vertx.core.file.FileSystemException: Unable to open file at path '/file:/deployments/app/app-api-1.0.0-SNAPSHOT.jar!/image.png' However, when I use…

VIEW QUESTION
Back To Top
Search