oncall-engine/docs/Makefile

12 lines
318 B
Makefile
Raw Normal View History

IMAGE = grafana/docs-base:latest
2022-06-13 12:11:38 +03:00
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' -v '$(shell pwd)/sources:/jugo/content/docs/grafana-cloud/oncall:Z' -p $(PORT) --rm -it $(IMAGE)