Public | Automated Build

Last pushed: 2 months ago
Short Description
A Docker image for running node applications in webteam projects.
Full Description

A light-weight docker image for running node applications (https://nodejs.org/).

This image also has Yarn and Bower.

Usage

docker run  \
  --user $(id -u):$(id -g)                       `# Use the current user inside container`  \
  --volume `pwd`:`pwd`                           `# Mirror current directory inside container`  \
  --volume node-cache:/home/shared/.cache/       `# Add a persistent volume for the yarn cache`  \
  --workdir `pwd`                                `# Set current directory to the image's work directory`  \
  --tty                                          `# Attach a pseudo-terminal`  \
  --interactive                                  `# Add interactive capabilities to terminal prompt`  \
  node yarn                                      `# Run the "yarn" inside this project`
Docker Pull Command
Owner
canonicalwebteam
Source Repository