Public | Automated Build

Last pushed: 4 days ago
Short Description
Node.js image with Yarn.
Full Description

Docker node

Docker image that includes Node.js and Yarn. It also provides a non-root user.

Images

Base image: node:alpine

Image name: hrasoa/node

What's included

  • Node 8.x
  • Npm 5.x
  • Yarn 0.27.x

How to use the image

I recommend to use Docker compose

docker-compose.yml:

version: '2'
services:
  app:
    image: hrasoa/node
    user: devel # it is recommended to run the container as regular user
    ports:
      - 3000:3000
    volumes:
      - ./:/var/www

Then run any command:

$ docker-compose run --rm app npm init
Docker Pull Command
Owner
hrasoa
Source Repository

Comments (0)