oncall-engine/docs/Makefile
2022-06-13 12:11:38 +03:00

11 lines
250 B
Makefile

IMAGE = grafana/docs-base:latest
CONTENT_PATH = /hugo/content/docs/oncall/latest
PORT = 3002:3002
.PHONY: pull
pull:
docker pull $(IMAGE)
.PHONY: docs
docs: pull
docker run -v '$(shell pwd)/sources:$(CONTENT_PATH):Z' -p $(PORT) --rm -it $(IMAGE)