/ViewerDockerContainer

Dockerfile for caMicroscope viewer. Includes Apache, PHP, IIPSrv and caMicroscope.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Camicroscope Viewer Container Build Status

  • Clone this repo

Make sure you're running the following commands from the directory that has DockerFile i.e. the root of the repository.

  • docker build -t camicroscope_viewer .

  • docker run -itd -p <PORT_NUMBER>:80 -v $(pwd)/html:/var/www/html -v <IMAGE_DIRECTORY>:/data/images camicroscope_viewer

The <IMAGE_DIRECTORY> is the same directory that you used for Camicroscope DataLoader

Linking the viewer to dataloader

  • Open html/camicroscope/api/Configuration/config.php
  • Change $baseURL="<DATALOADER_CONTAINER_IP>:9099"

Open http://localhost:<PORT>/camicroscope/osdCamicroscope.php?tissueId=<Image_ID>