corso/docs/Makefile
Niraj Tolia cab6a515d9
Separate internal and user-facing docs (#60)
* Move CLI proposal to internal docs/design location
* Add previously-used headers to CLI design doc
2022-05-20 10:44:39 -07:00

25 lines
539 B
Makefile

.PHONY: buildimage build dev shell check
buildimage:
docker build -t "alcion/docs:latest" .
dev:
docker run --rm -it \
-p 3000:3000 \
-v ${PWD}:/usr/src/docs alcion/docs
check:
docker run --rm \
-v ${PWD}:/usr/src/docs alcion/docs vale docs
docker run --rm \
-v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/
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