title: javac: File Not Found Error in Dockerfile
body: <p>I am trying to build a docker image for a java app.
  I have done the following in the dockerfile :</p>
  
  <pre><code>FROM java:8
  RUN javac HelloDocker.java
  CMD ["java","HelloDocker"]
  </code></pre>
  
  <p>When I am trying to build the image it is throwing the following exception :<code>javac: file not found: HelloDocker.java</code>
  The HelloDocker.java file and Dockerfile is in the same directory.
  Also, when I tried to compile the java file separately (via javac HelloDocker.java), it did not throw any error.</p>