1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 01:36:23 +00:00

Avoid local image building for local dev (#293)

* Fix serve.sh

Signed-off-by: David Young <davidy@funkypenguin.co.nz>

* Avoid needing to build image locally

Signed-off-by: David Young <davidy@funkypenguin.co.nz>

---------

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
This commit is contained in:
David Young
2023-03-25 13:05:49 +13:00
committed by GitHub
parent db3740db46
commit 25d49db182
4 changed files with 43 additions and 43 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
docker pull squidfunk/mkdocs-material:latest
docker build . -t funkypenguin/mkdocs-material
docker run --rm --name mkdocs-material -it -p 8123:8000 -v ${PWD}:/docs -e PROD_BUILD=false funkypenguin/mkdocs-material serve \
# docker pull squidfunk/mkdocs-material:latest
# docker build . -t funkypenguin/mkdocs-material
docker run --rm --name mkdocs-material -it -p 8123:8000 -v ${PWD}:/docs -e PROD_BUILD=false ghcr.io/geek-cookbook/mkdocs-material:master serve \
--dev-addr 0.0.0.0:8000 \
--dirtyreload