Sign inSign up

cghome/dode-webdev

By cghome

Updated about 10 years ago

dode - web-service development image

Image
0

884

cghome/dode-webdev repository overview

dode - (base) web-service development image

Documentation: (https://github.com/cgHome/dode)

Installation:

Add "scripts" entry within your service's package.json file:

# Inside package.json...
{
  "scripts": {
    "start": "echo \"Error: no start specified\" && exit 1",
    "test": "echo \"Error: no test specified\" && exit 1"
  }
}

Scripts description:

  • npm start - runs the service start script
  • npm test - runs the service test scripts

Usage:

Run

docker run --rm \
    -v ./web:/home \  
    -p  8080:8080 \
    cghome/dode-webdev

Building this image

docker build -t cghome/dode-webdev .

Push

docker push cghome/dode-webdev 

Tag summary

Content type

Image

Digest

Size

42.8 MB

Last updated

about 10 years ago

docker pull cghome/dode-webdev