Generate a site index using a yaml spec file
415
Generate a site index directory with a yaml spec, setup with robb-j/node-base.
The app runs on port 3000 in the container and your should mount your sites.yml into /app/web/sites/yml
services:
site-index:
image: robbj/site-index:latest
volumes:
- ./sites.yml:/app/web/sites.yml
ports:
- 3000:3000
# Run for development
npm run start
# Update version then builds & pushes a new docker image
# -> uses REGISTRY file & the npm version to tag the image
npm version ... # --help
# Lint the web & test directories
npm run lint
# Run the unit tests
npm test
# Generate coverage
npm run coverage # outputs to coverage/
npm run coverage-summary # outputs to terminal
Content type
Image
Digest
Size
28.3 MB
Last updated
over 7 years ago
docker pull robbj/site-index