title: How to load the web app folder to docker container
body: <p>I am new to the docker technology. I have a spring boot application running on my local machine. I need to move the target jar file to the docker container. </p>
  
  <p>This spring boot application is contains rest services and some controller will display the view (JSP) with the help of dispatcher servlet.</p>
  
  <p>While creating the container, I am getting <strong>404 Error</strong> for the views returned from the dispatcher servlet. What is the command I need to place in my dockerfile to move my static web app folder to the container ?.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Container is working fine for the rest services. Rest services to perform CRUD with mysql server.</p>
  
  <p>My Dockerfile :</p>
  
  <pre><code>FROM openjdk:8
  
  EXPOSE 7070
  
  ADD target/docker_app.jar docker_app.jar
  
  ENTRYPOINT ["java","-jar","docker_app.jar"]
  </code></pre>