diff --git a/Makefile b/Makefile index 3e62c0973c06e..fcbd8438206a7 100644 --- a/Makefile +++ b/Makefile @@ -23,11 +23,11 @@ build-preview: ## Build site with drafts and future posts enabled. serve: ## Boot the development server. hugo server -stage: ## This needs to be updated for Hugo - #docker run -ti --rm -v "${PWD}":/k8sdocs -p 4000:4000 gcr.io/google-samples/k8sdocs:1.1 - docker-image: $(DOCKER) build . --tag $(DOCKER_IMAGE) --build-arg HUGO_VERSION=$(HUGO_VERSION) docker-build: $(DOCKER_RUN) $(DOCKER_IMAGE) hugo + +stage: + $(DOCKER_RUN) -p 1313:1313 $(DOCKER_IMAGE) hugo server --watch --bind 0.0.0.0