Spaces:
Runtime error
Runtime error
| # Docker local run verification | |
| Date: 2026-06-11 | |
| Repo: all4-p1-elder-paperwork | |
| Source check: | |
| - `src/apps/_base.py` uses `gr.Blocks(..., css_paths=THEME_CSS_PATH)`. | |
| - No `css_paths` argument is passed to `launch()`. | |
| Commands run: | |
| 1. `docker build -t all4-p1-elder-paperwork:local /opt/data/workspace/all4-p1-elder-paperwork` | |
| - Result: success | |
| - Image ID: `779ddad42b51` | |
| 2. `docker run -d --rm --name verify_all4_p1_8071 -p 8071:7860 all4-p1-elder-paperwork:local` | |
| - Result: success | |
| - Container ID: `dd251d4e57d6a5c47bb63aa57aeac9cec9e9671eb0d2ae1ff299653bbb55ec80` | |
| 3. Readiness check (documented ready endpoint): | |
| - `docker exec verify_all4_p1_8071 python - <<'PY' ... urllib.request.urlopen('http://localhost:7860/') ... PY` | |
| - Result: HTTP 200 | |
| Note: | |
| - Host-side `curl` to the published port was not reachable from this harness, so the ready endpoint is documented via the in-container `localhost:7860` check above. | |