title: Why I'm unable to COPY my files into docker container?
body: <p>I'm trying to move my files into htdocs folder of an apache image.
  Her's what my dockerfile looks like:</p>
  
  <pre><code>FROM httpd:2.4
  MAINTAINER Ankit
  COPY ./public-html/ /usr/local/apache2/htdocs/
  </code></pre>
  
  <p>But the COPY command is not copying the files into the container.
  Here's the output - index.html is there by default, what I'm trying to copy is public-html folder:</p>
  
  <pre><code>root@8453b6ffa6fd:/usr/local/apache2/htdocs# ls
  index.html
  </code></pre>
  
  <p>Is there something I'm missing?</p>
  
  <p>UPDATE:
  The public-html folder is not getting copied but the file index.html is being copied there, what is the reason for such behaviour?</p>
  
  <p>UPDATE2: Here's my latest dockerfile, command to build and run container.</p>
  
  <pre><code>Dockerfile:
  FROM httpd:2.4
  MAINTAINER Ankit
  COPY public-html/ /usr/local/apache2/htdocs/public-html/
  
  docker build -f Dockerfile -t apache .
  docker run -d --name apws -v /Users/ankitsahu/workspace/docker_practi
  ce/public-html:/usr/local/apache2/htdocs/ -p 80:80 apache
  </code></pre>
  
  <p>and when i check the content using exec command:</p>
  
  <pre><code>root@b54e53a231b7:/usr/local/apache2/htdocs# ls -a
  .  ..  index.html  sample.html  try
  </code></pre>