title: Dockerized node app not serving static content
body: <p>I recently moved my nodejs application into a docker container.
  Everything works fine, except static files (e.g. bower components) won't get loaded (404).</p>
  
  <p>Whats wrong?</p>
  
  <p>In my node app:</p>
  
  <pre><code>app.use('/static', express.static(__dirname + '/../public'));
  </code></pre>
  
  <p>My .bowerrc</p>
  
  <pre><code>{
    "directory": "public/lib"
  }
  </code></pre>
  
  <p>Bower downloads and installs all files in the right directory. I checked it myself inside the docker container.</p>
  
  <p>My dockerfile:</p>
  
  <pre><code>FROM node:4-onbuild
  COPY . /src
  RUN cd /src/ &amp;&amp; npm install &amp;&amp; bower install --allow-root
  RUN ["node", "/src/server.js"]
  EXPOSE 3000
  </code></pre>