corso/docs/Makefile
Niraj Tolia 038d94b818
Add Vale linting to docs (#47)
* Add vale to docs build image

* Add Vale config and style guides

* Add Vale to Makefile
2022-05-18 14:45:25 -07:00

23 lines
432 B
Makefile

.PHONY: buildimage build dev shell
buildimage:
docker build -t "alcion/docs:latest" .
dev:
docker run --rm -it \
-p 3000:3000 \
-v ${PWD}:/usr/src/docs alcion/docs
vale:
docker run --rm \
-v ${PWD}:/usr/src/docs alcion/docs vale --glob='*.md' .
shell:
docker run --rm -it \
-p 3000:3000 \
-v ${PWD}:/usr/src/docs alcion/docs /bin/bash
build:
docker run --rm \
-v ${PWD}:/usr/src/docs alcion/docs npm run build