From da9bcbcd03c0b84cabf067f91e5b13f6fbc4d1ad Mon Sep 17 00:00:00 2001 From: Andreas Fritzler Date: Wed, 30 Oct 2024 09:20:40 +0100 Subject: [PATCH] Switch port of local docs setup to `9000` --- Makefile | 2 +- docs/Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d76a630..340228e 100644 --- a/Makefile +++ b/Makefile @@ -108,7 +108,7 @@ lint-fix: golangci-lint ## Run golangci-lint linter and perform fixes .PHONY: startdocs startdocs: ## Start the local mkdocs based development environment. docker build -t $(IMAGE) -f docs/Dockerfile . --load - docker run -p 8000:8000 -v `pwd`/:/docs $(IMAGE) + docker run -p 9000:9000 -v `pwd`/:/docs $(IMAGE) .PHONY: cleandocs cleandocs: ## Remove all local mkdocs Docker images (cleanup). diff --git a/docs/Dockerfile b/docs/Dockerfile index e143e2f..3e8d598 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -7,8 +7,8 @@ WORKDIR /docs COPY docs/requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt -EXPOSE 8000 +EXPOSE 9000 # Start development server by default ENTRYPOINT ["mkdocs"] -CMD ["serve", "--dev-addr=0.0.0.0:8000"] +CMD ["serve", "--dev-addr=0.0.0.0:9000"]