Specifying a Node.js version

A Node.js version can be specified in the first line of your Dockerfile.

For example to specify the LTS Node.js 10:

FROM node/10-alpine

WORKDIR /opt/app
...