Off-Grid-Field-Repair-Logbook / docs /reports /docker_local_run.md
Abhishek
Initialize project files and updated hackathon tags
50f83f4
|
Raw
History Blame Contribute Delete
922 Bytes
# Docker local run verification
Date: 2026-06-11
Repo: all4-p3-field-repair
Source check:
- `app_kit/app.py` uses `gr.Blocks(..., css_paths=THEME_CSS_PATH)`.
- No `css_paths` argument is passed to `launch()`.
Commands run:
1. `docker build -t all4-p3-field-repair:local /opt/data/workspace/all4-p3-field-repair`
- Result: success
- Image ID: `739618de4b02`
2. `docker run -d --rm --name verify_all4_p3_8073 -p 8073:7860 all4-p3-field-repair:local`
- Result: success
- Container ID: `277dfe1624f03c3a63236ab8aaef27a6205c98c5253b410d54bccc8a9548cfaf`
3. Readiness check (documented ready endpoint):
- `docker exec verify_all4_p3_8073 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.