title: /bin/sh: 1: composer: not found
body: <p>I am trying to build a Dockerfile.</p>
  
  <pre><code>FROM php:7
  
  RUN mkdir -p /home/winpc/test/laravelApp/app
  WORKDIR /home/winpc/test/laravelApp/app
  
  
  COPY composer.json /home/winpc/test/laravelApp/app
  RUN composer install
  
  COPY . /home/winpc/test/laravelApp/app
  
  CMD php artisan serve --host=0.0.0.0 --port=8181
  EXPOSE 8181
  </code></pre>
  
  <p>But when i run the build command it says:</p>
  
  <pre><code>docker build -t lar-app .
  /bin/sh: 1: composer: not found
  The command '/bin/sh -c composer install' returned a non-zero code: 127
  </code></pre>
  
  <p>But when I type just composer it is properly displaying the information
  I guess the problem is with the command:</p>
  
  <pre><code>RUN composer install
  </code></pre>
  
  <p>Here I am using Ubuntu 14.04 </p>