Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

Docker Node

Install local packages

docker run --name=node \
    --rm \
    -it \
    ~/.ssh:/root/.ssh \
    /path/to/project:/src \
    node:latest \
    install

Read package.json to /src and install packages to /src/node_modules

Use local node binaries

docker run --name=node \
    --rm \
    -it \
    ~/.ssh:/root/.ssh \
    /path/to/project:/src \
    node:latest \
    XXX

Execute binarie XXX present to /src/node_modules/.bin/XXX

Docker Pull Command
Owner
huttopia
Source Repository