Исправления сборки и запуска документации

This commit is contained in:
2026-07-22 11:06:02 +08:00
parent 890674dea0
commit f85c61d273
2 changed files with 11 additions and 14 deletions
+9 -9
View File
@@ -11,10 +11,9 @@ live: clear
@docker stop iptv-docs-dev 2>/dev/null; \
docker run \
--rm \
--interactive \
--tty \
--pull always \
--env PYTHONPATH=/docs \
--publish 8801:8801 \
--publish 8801:8000 \
--volume ${PWD}:/docs \
--name iptv-docs-dev \
zensical/zensical:latest
@@ -24,18 +23,19 @@ site: clear
@echo "*** Wait until zensical finish"
@docker stop iptv-docs-dev 2>/dev/null; \
docker run \
--pull always \
--rm \
--pull always \
--env PYTHONPATH=/docs \
--volume ${PWD}:/docs \
--name iptv-docs-dev \
zensical/zensical:latest \
build \
--clean
--clean \
--strict
## image = Build a docker image
image:
@docker build --tag git.axenov.dev/iptv/iptv-docs:latest:latest .
@docker build --tag git.axenov.dev/iptv/iptv-docs:latest .
## run = Run docker container from image built with `make image` on http://localhost:8802
run:
@@ -45,12 +45,12 @@ run:
--rm \
--publish 8802:80 \
--name iptv-docs \
git.axenov.dev/iptv/iptv-docs:latest:latest
git.axenov.dev/iptv/iptv-docs:latest
# push = Push docker image built with `make image` to git.axenov.dev
## push = Push docker image built with `make image` to git.axenov.dev
push:
@docker login git.axenov.dev; \
docker push git.axenov.dev/iptv/iptv-docs:latest:latest
docker push git.axenov.dev/iptv/iptv-docs:latest
## help = Show this message and exit (default)
help: Makefile