Docker Hub images
Published API and workbench images for research and education demos. Not a medical device.
Need to install Docker first? Follow Docker for beginners.
Pull
docker pull ranasl62/ehr-risk-api:latest
docker pull ranasl62/ehr-risk-web:latest
| Image | Docker Hub | Used by |
|---|---|---|
ranasl62/ehr-risk-api:latest |
ranasl62/ehr-risk-api | API, prepare, train |
ranasl62/ehr-risk-web:latest |
ranasl62/ehr-risk-web | Angular UI (nginx) |
Also published: short git SHA tags (:sha-…) and semver from v* GitHub tags. Workflow: .github/workflows/publish-images.yml. Hub Overview text is synced from deployment/dockerhub/*.md on each publish.
Run with Compose
Still clone the repo so Compose can bind-mount data/, reports/, and model.pkl:
git clone https://github.com/ranasl62/ehr-chronic-disease-risk-prediction.git
cd ehr-chronic-disease-risk-prediction
docker compose -f docker-compose.yml -f docker-compose.publish.yml pull
docker compose -f docker-compose.yml -f docker-compose.publish.yml up
# or: make researcher-up-pull
- Workbench: http://127.0.0.1:8080
- API / OpenAPI: http://127.0.0.1:8000/docs
Pin a release: IMAGE_API=ranasl62/ehr-risk-api:v1.0.0 and IMAGE_WEB=ranasl62/ehr-risk-web:v1.0.0 in .env. See Quickstart and INSTALLATION.md.
Build from source instead
docker compose up --build
Local tags: ehr-risk-api:local · ehr-risk-web:local.