user461112
user461112

Reputation: 4141

Installing node v8 in docker

How do i install node v8 in Docker container. I would like to use node js version 8. What should my Dockerfile say in FROM line?

I currently have FROM nodesource/node:8, but doesn't seem to work. Any advice here?

Upvotes: 0

Views: 2223

Answers (2)

Vignajeth
Vignajeth

Reputation: 708

use FROM node:8-alpine which gives a low size node image https://hub.docker.com/_/node/

Upvotes: 0

Oluwafemi Sule
Oluwafemi Sule

Reputation: 38932

NodeSource was last updated to version 6.3.0 a year ago.

Use

FROM node:8

You can view available image tags for node on the docker hub repo.

Upvotes: 2

Related Questions