title: Building docker images from a source directory using different dockerfiles
body: <p>My goal is to build several different docker images , from the same source code.</p>
  
  <p>i have my ./src folder (node.js project).
  inside ./src  i have first.dockerfile and second dockerfile.</p>
  
  <p>for building the the project i use this standard command line </p>
  
  <pre><code>sudo docker build -t doronaviugy/myproject .
  </code></pre>
  
  <p>This works with no problems using the default <strong>Dockerfile</strong></p>
  
  <p>I'm trying to build it from a specific dockerfile using the line</p>
  
  <pre><code>sudo docker build -t doronaviguy/myproject  - &lt;   first.docker
  </code></pre>
  
  <p>this line works, but now path doesn't being copy inside the image</p>
  
  <pre><code>#Inside the Dockerfile
  ADD . /src
  </code></pre>
  
  <p>I think i understand how to specify a dockerfile argument, but i need to specify a direcotry argument to be copied inside the docker image.</p>
  
  <p>Thanks a lot.</p>