title: Docker add folder into image
body: <p>i've docker file which I run <strong>from my root project</strong> and it working ok
  Now I need to add project <strong>from</strong> my local machine to the <strong>image</strong> and I did it like following </p>
  
  <pre><code>ADD  ../proj1 /go/src/proj1
  </code></pre>
  
  <p>Now I got error </p>
  
  <pre><code>Step 7/16 : ADD  ../proj1 /go/src/proj1
  ADD failed: Forbidden path outside the build context: ../proj1 ()
  </code></pre>
  
  <p>How can I overcome this? I dont want to put the <code>proj1</code> under my <code>root project</code></p>
  
  <p>all other path's on the docker files are ok</p>
  
  <pre><code>FROM golang:alpine as builder
  WORKDIR /go/src/rootproj
  ADD . /go/src/rootproj
  RUN CGO_ENABLED=0 go build -ldflags '-extldflags "-static"' -o main .
  ADD  ../proj1 /go/src/proj1
  </code></pre>
  
  <p>And to build it I run </p>
  
  <pre><code>docker build -t myproj .
  </code></pre>