title: How to access local file when building from Dockerfile?
body: <p>I need <code>hello.rpm</code> when I build from Dockerfile, but this rpm file is not available online.</p>
  
  <p>Right now I'm serving the file by firing up a temporary web server, but ideally I'd like to run a <em>build</em> command which makes this local file available inside the container.</p>
  
  <p>Is this possible?</p>
  
  <hr>
  
  <p>My build command:</p>
  
  <pre><code>docker build -t fredrik/helloworld:1.0 .
  </code></pre>
  
  <p>My Dockerfile:</p>
  
  <pre><code>FROM centos:6
  RUN rpm -ivh hello.rpm
  </code></pre>