Add apptainer container. Clean up repo

This commit is contained in:
Kylian Schmidt
2025-09-08 09:44:49 +02:00
parent b6a37fb93f
commit be99b3e601
8 changed files with 28 additions and 449 deletions
+20
View File
@@ -0,0 +1,20 @@
Bootstrap: docker
From: python:3.11-slim
%post
apt-get update
apt-get install -y --no-install-recommends imagemagick
rm -rf /var/lib/apt/lists/*
pip install --no-cache-dir jinja2 pyyaml
mkdir -p /src
%files
. /src
%environment
export PYTHONPATH=/src
%runscript
cd /src
exec python3 generate_gallery.py "$@"