title: Docker :: Issue with Dockerfile - target folder not available
body: <p>I have a spring boot project and trying to build the project with a Docker file on  circleci continuous integration server.</p>
  
  <p>The problem is that I only have my source code in my github repo; no target directory or jar file.  My Dockerfile is not able to get the final artifact (packaging the application to a jar).</p>
  
  <p>Please check the Docker file and suggest a way forward.</p>
  
  <pre><code>FROM java:8
  EXPOSE 8090
  VOLUME /tmp
  ADD target/spring-boot-rest-0.3.0.jar app.jar
  RUN bash -c 'touch /app.jar'
  ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-Dspring.profiles.active=container","-jar","/app.jar"]
  </code></pre>