title: How to run copy command via docker RUN
body: <p>I need to reduce my Docker image size so I need to run all copy files command to single shell command 
  This is my Docker file copy command</p>
  
  <pre><code>COPY rdkafka.ini /etc/php/7.0/mods-available/
  COPY 20-rdkafka.ini /etc/php/7.0/apache2/conf.d/
  COPY apache2.conf /etc/apache2/
  COPY php.ini /etc/php/7.0/apache2/
  </code></pre>
  
  <p>Into single command</p>
  
  <pre><code>RUN cp rdkafka.ini /etc/php/7.0/mods-available/ &amp;&amp; cp 20-rdkafka.ini /etc/php/7.0/apache2/conf.d/ &amp;&amp; apache2.conf /etc/apache2/ &amp;&amp; php.ini /etc/php/7.0/apache2/
  </code></pre>
  
  <p>I am getting this error</p>
  
  <pre><code>cp: cannot stat 'rdkafka.ini': No such file or directory
  </code></pre>
  
  <p>Any help?</p>