title: Dokku multi-process (container) with Dockerfile project
body: <p>I'm looking at <a href="http://progrium.viewdocs.io/dokku/process-management/" rel="nofollow">http://progrium.viewdocs.io/dokku/process-management/</a> and trying to work out how to get several services running from a single project.</p>
  
  <p>I have a repo with a Dockerfile:</p>
  
  <pre><code>FROM wjdp/flatcar
  
  ADD . app
  
  RUN /app/bin/install.sh
  
  EXPOSE 8000
  
  CMD /app/bin/run.sh
  </code></pre>
  
  <p><code>run.sh</code> starts up a single threaded web server. This works fine but I'd like to run several services.</p>
  
  <p>I tried making a <code>Procfile</code> with a single line of <code>web: /app/bin/run.sh
  </code> and removing the <code>CMD</code> line from the Dockerfile. This doesn't work as without a command to run the Docker container doesn't stay alive and dokku gets sad:</p>
  
  <pre><code>remote: Error response from daemon: Cannot kill container ae9d50af17deed4b50bc8327e53ee942bbb3080d3021c49c6604b76b25bb898e: Container ae9d50af17deed4b50bc8327e53ee942bbb3080d3021c49c6604b76b25bb898e is not running
  remote: Error: failed to kill containers: [ae9d50af17deed4b50bc8327e53ee942bbb3080d3021c49c6604b76b25bb898e]
  </code></pre>