title: Gulp build into Docker container when NODE_ENV=production
body: <p>I have a <strong>Docker container</strong> that host a <strong>NodeJS</strong> Web application.</p>
  
  <p>This docker container has the environment variable <code>NODE_ENV=production</code></p>
  
  <p>When I run the container, npm install skip all the <code>devDependencies</code> from the <code>package.json</code> file because of that.</p>
  
  <p>I thought 3 differents solutions but none seems good</p>
  
  <ol>
  <li>Store the <code>build</code> on my CVS</li>
  <li>Build outside docker</li>
  <li>Move all devDependencies to dependencies</li>
  </ol>
  
  <p>Choice 1 take storage on CVS, and look stupid</p>
  
  <p>Choice 2 require to have NodeJS, npm, gulp and many other libs installed</p>
  
  <p>Choice 3 Looks the best</p>
  
  <p>But i am interested in any others suggestions</p>