initial commit
All checks were successful
Build and Publish Docker Image / docker (push) Successful in 36s

This commit is contained in:
2025-12-04 14:24:45 +01:00
commit 5bc24cf89e
3 changed files with 79 additions and 0 deletions

32
Readme.md Normal file
View File

@@ -0,0 +1,32 @@
# 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 .
```