I have the same problem : https://github.com/nuxt/nuxt.js/issues/658
I use
docker run --name wyrme --link yidata:yidatahost -itd -m 512m -v /root/site/wyrme:/root/site/wyrme -w /root/site/wyrme node:7.9.0 npm run production
but use memory over 2G.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c572">#c572</a>)</em></sub></div>