ohif-viewer/dockersupport/viewer-google-cloud
2019-04-03 18:17:38 +02:00
..
Dockerfile feat(google-cloud): Add docs for how to use OHIF against Google Cloud Healthcare 2019-04-03 18:17:38 +02:00
nginx.conf feat(google-cloud): Add docs for how to use OHIF against Google Cloud Healthcare 2019-04-03 18:17:38 +02:00
README.md feat(google-cloud): Add docs for how to use OHIF against Google Cloud Healthcare 2019-04-03 18:17:38 +02:00

This folder contains the instructions for building the ohif/viewer-google-cloud Docker container.

  1. Install Meteor
  2. Clone the repository
git clone https://github.com/OHIF/Viewers.git
cd Viewers
  1. Install meteor-build-client-fixed2 so you can build the Standalone Viewer
npm install -g meteor-build-client-fixed2
  1. Build the Standalone client-only OHIF Viewer
cd OHIFViewer/
METEOR_PACKAGE_DIRS="../Packages" meteor-build-client ../dockersupport/viewer-google-cloud/build -s ../config/oidc.json
  1. Build the Docker image
cd ../dockersupport/viewer-google-cloud
docker build -t ohif/viewer-google-cloud .
  1. Run the Docker image using an OAuth Client ID
docker run --env CLIENT_ID={$someID}.apps.googleusercontent.com --publish 3000:80 ohif/viewer-google-cloud