Files
alpine-zensical/Readme.md
ebner 5bc24cf89e
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 36s
initial commit
2025-12-04 14:24:45 +01:00

33 lines
708 B
Markdown

# Overview
Alpine based image to build jupyter-book based documentation
Build manually:
```bash
docker run -it --rm -v $(pwd):/data --workdir /data gitea.psi.ch/images/alpine-zensical
/opt/python-env/bin/zensical build --site-dir public
```
Use Gitea action to build the documentation:
```yaml
jobs:
build-and-deploy:
runs-on: ubuntu-latest-intranet
container:
image: gitea.psi.ch/images/alpine-zensical
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Jupyter Book
run: /opt/python-env/bin/zensical build --site-dir public
```
```bash
docker build --platform linux/x86_64 -t gitea.psi.ch/images/alpine-zensical:latest .
```