mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
15 lines
504 B
Makefile
15 lines
504 B
Makefile
.PHONY: docs docs-test
|
|
|
|
IMAGE = grafana/docs-base:latest
|
|
|
|
docs:
|
|
docker pull ${IMAGE}
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it $(IMAGE) /bin/bash -c 'make server'
|
|
|
|
docs-no-pull:
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest -p 3002:3002 --rm -it $(IMAGE) /bin/bash -c 'make server'
|
|
|
|
docs-test:
|
|
docker pull ${IMAGE}
|
|
docker run -v $(shell pwd)/sources:/hugo/content/docs/grafana/latest --rm -it $(IMAGE) /bin/bash -c 'make prod'
|