title: no main manifest attribute, in app.war
body: <p>I have a WAR file which I want to deploy in Docker but when I run it with associated Port after build, I am getting this error:
  <code>no main manifest attribute, in app.war</code>.</p>
  
  <p>My Dockerfile looks like this</p>
  
  <pre><code>FROM java:8                                                                                                                                                             
  EXPOSE 8080                                                                                                                                                             
  ADD /service.war app.war                                                                                                                                                
  ENTRYPOINT ["java","-jar","app.war"]` 
  </code></pre>
  
  <p>What should be done to resolve this error?</p>