Docker Node Versus Ubuntu

It depends on how much control you want over node js version and any additional tooling you need in you Docker image. If you look at Dockerfile for official node js image(https://github.com/nodejs/docker-node), they use alpine as base. I personally prefer to use official images for production since that has been stress tested.