I am testing wildfly bootable jar. Made a simple project and started it with "java -jar myapp-bootable.jar" just fine. It contains basically just a index.html. Simple enough. Next step, was do build a docker image around it. And this didn’t work. Here is the dockerfile FROM maven:3.6.3-adoptopenjdk-15 as build COPY src /usr/src/app/src COPY pom.xml /usr/src/app ..