.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 VALE_TARGET ?= docs README.md dockercheck: docker run --rm \ -v ${PWD}:/usr/src/docs alcion/docs vale $(VALE_TARGET) docker run --rm \ -v ${PWD}:/usr/src/docs alcion/docs markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/ check: vale $(VALE_TARGET) markdownlint '**/*.md' --ignore styles/ --ignore src/ --ignore node_modules/ 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