fix governance reqs; allow for sandboxed jupyter notebooks for testing

This commit is contained in:
Roberto Treviño Cervantes
2026-11-13 11:52:36 -06:00
parent e41a2b7127
commit ce67de17bc
6 changed files with 981 additions and 108 deletions
+6
View File
@@ -1,6 +1,12 @@
#!/bin/sh
set -e
# The notebook runner shares the image but runs with no network, a read-only
# system and only the jobs folder (models.io.notebook_jobs): it never touches /data.
if [ "$1" = "notebooks" ]; then
exec /app/WebApi/.venv/bin/python -m models notebooks serve
fi
mkdir -p /data
# SQLite won't create a missing parent directory for its database file.