A minimal Dockerfile based on Node.js alpine docker image.
- Node.js v8
- npm v6
Node.js 8 example:
$ docker run --rm -ti sdaoudi/node:8-alpine node -v
You can use /srv
as a working directory:
$ docker run --rm -ti -v $(pwd):/srv sdaoudi/node:8-alpine ls -laF
You can build a node image with this command:
$ make build NODE_VERSION=8