Skip to main content

Test PathCloud and PACS viewer dynamic config via docker container

Build and run the viewer OHIF container

starting from root of project steps:

cd app-containers/viewer-ohif/repo-viewer-ohif/platform/app/

yarn run build:viewer

cd ../..

docker build -f Dockerfile.pathcloud.dynamic --tag viewer-ohif-dynamic-config:latest .

docker run --rm -e FILE_DATA="$(cat ./platform/app/public/config/gcp_gcp-pathology-poc1.js)" -p 3000:80 --name dynamic-ohif-config viewer-ohif-dynamic-config:latest

Build and run the PathCloud Container

starting from root of project steps:

cd apps/app-pathcloud

npm run clean

npx vite build --mode local.bkc

cd container

docker build -f Dockerfile.apps --build-arg APP_DIST_DIR=../dist --build-arg APP_ENV_PATH=.env.local.bkc --tag us-west2-docker.pkg.dev/gcp-pathology-poc1/pathcloud/poc1/app-pathcloud ../.

docker run --rm -p 3005:80 --name app-pathcloud-local us-west2-docker.pkg.dev/gcp-pathology-poc1/pathcloud/poc1/app-pathcloud