Build OHIF Custom Image Docker

Build OHIF Custom Image Docker

Build OHIF Custom Image Docker

Upwork

Upwork

Remoto

11 horas atrás

Nenhuma candidatura

Sobre

Job: Containerize OHIF Viewer to run under /viewer path Build a production Docker image of the OHIF viewer that serves the SPA from the subpath /viewer (not from the root /). The container must work standalone (e.g., https://localhost:3000/viewer/) and be ready to sit behind an edge NGINX later. Scope of Work - Create an OHIF app-config with routerBasename: '/viewer'. - Build the OHIF app with PUBLIC_URL=/viewer/ (so all assets resolve under /viewer/...). - Provide the image and the guide - config/app-config.js (or similar) with routerBasename: '/viewer'. - Dockerfile (multi-stage) that produces a runnable image. - README.md with build/run/test instructions. Acceptance Criteria When run docker run -p 3000:80 viewer GET https://localhost:3000/viewer/ → 200 (text/html) and renders OHIF. GET https://localhost:3000/viewer/assets/some.js → 200 (application/javascript). GET https://localhost:3000/app.js → 404 (no root assets). The index.html references assets under /viewer/... (not /).