Using COPY on dockerfile for apache build
<p>I'm new to docker and I'm trying to build a small dockefile for apache just for testing.</p>

<pre><code>FROM httpd:2.2.31

RUN mkdir -p /opt/mw/apache-test/logs

ADD ./httpd-custom.conf /usr/local/apache2/conf/httpd.conf
COPY /opt/mw/apache-2.2.31-instance1/htdocs/ /usr/local/apache2/htdocs/
</code></pre>

<p>But for some reason I getting an error with the COPY.
Also, I tried to use ADD.<br>
This is the error I got:  </p>

<pre><code>Step 4 : COPY /opt/mw/apache-2.2.31-instance1/htdocs/ /usr/local/apache2/htdocs/
lstat opt/mw/apache-2.2.31-instance1/htdocs/: no such file or directory  
</code></pre>

<p>What I'm doing wrong?</p>