Spaces:
Paused

somratpro Claude Sonnet 4.6 commited on
Commit
4c78093
·
1 Parent(s): 909b900

fix: use venv python for JupyterLab — system python3 lacks jupyterlab

Browse files

jupyterlab is installed into /opt/hermes/.venv, not system python3.
start_jupyter() was calling python3 -c "import jupyterlab" which fails
on system python → returned 1 → set -euo pipefail killed start.sh →
container crashed every boot → HF Space stuck in RUNNING_APP_STARTING.

Fixes:
- Use /opt/hermes/.venv/bin/python for the import check and launch
- Change failing return 1s in start_jupyter to return 0 (non-fatal)
- Restore HEALTHCHECK with 60s start-period (was accidentally removed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 files changed +8 -6
Files changed (2)
Dockerfile+2-1
start.sh+6-5