Browse Source

use root index, fix docker deploy

pull/33/head
cellarspoon 5 months ago
parent
commit
59dbf66fdf
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
  1. 1
      .dockerignore
  2. 4
      Dockerfile
  3. 1
      compose.yml
  4. 0
      docs/index.md
  5. 2
      mkdocs.yml

1
.dockerignore

@ -0,0 +1 @@
.venv

4
Dockerfile

@ -6,10 +6,6 @@ COPY . /docs
WORKDIR /docs
ENTRYPOINT ["/bin/sh"]
RUN apk add --no-cache curl
RUN pip install mkdocs-awesome-pages-plugin mkdocs-material-extensions
CMD ["mkdocs", "serve"]

1
compose.yml

@ -12,6 +12,7 @@ services:
timeout: 10s
retries: 10
start_period: 15s
command: serve -a 0.0.0.0:8000 --no-livereload
deploy:
update_config:
failure_action: rollback

0
docs/intro/index.md → docs/index.md

2
mkdocs.yml

@ -39,7 +39,7 @@ markdown_extensions:
nav:
- "Introduction":
- intro/index.md
- index.md
- "Frequently asked questions": intro/faq.md
- "Project strategy": intro/strategy.md
- "Managed hosting": intro/managed.md

Loading…
Cancel
Save