Please, use code formatting as described in the below topic. I fixed your post.
How exactly are you trying to load the webapp from the browser? Since you haven’t shared the URL, we can’t tell if the error is normal or not. Based on what you shared it doesn’t look like a Docker issue, because your app is called HelloWorld.war but and if you want it to be accessible at http://localhost:8080/, as far as I know you need to copy it as ROOT.war. Otherwise you might need to map the application filename to a path in the URL if it doesn’t happen automatically.
Docker related suggestions
MAINTAINER i deprecated. The recommended way is using a LABEL
LABEL maintainer=tennents
I would use COPY instead of ADD, because ADD can also extract files automatically or download it directly from a website. I use COPY to copy files and RUN curl ... to download files so I know exactly when and how it will be extracted.
If you want to copy HelloWorld.war as ROOT.war you can use this line: