From 1651a6fec0231cf37d5c13c60df25f80e94e3340 Mon Sep 17 00:00:00 2001 From: Pere Miquel Brull Date: Thu, 7 Jul 2022 16:23:39 +0200 Subject: [PATCH] Update docs recipe (#5886) * Update docs recipe * Add local docs recipe --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5cbf3d4160f..40706059959 100644 --- a/Makefile +++ b/Makefile @@ -181,4 +181,8 @@ install_antlr_cli: ## Install antlr CLI locally .PHONY: docker-docs docker-docs: ## Runs the OM docs in docker passing openmetadata-docs as volume for content and images + docker run --name openmetadata-docs -p 3000:3000 -v ${PWD}/openmetadata-docs/content:/docs/content/ -v ${PWD}/openmetadata-docs/images:/docs/public/images -v ${PWD}/openmetadata-docs/ingestion:/docs/public/ingestion openmetadata/docs:latest + +.PHONY: docker-docs +docker-docs-local: ## Runs the OM docs in docker with a local image docker run --name openmetadata-docs -p 3000:3000 -v ${PWD}/openmetadata-docs/content:/docs/content/ -v ${PWD}/openmetadata-docs/images:/docs/public/images -v ${PWD}/openmetadata-docs/ingestion:/docs/public/ingestion openmetadata-docs:local