Skip to content
/ csiro Public

CSIRO Fast Healthcare Interoperability Resources Transform App

Notifications You must be signed in to change notification settings

zzpz/csiro

Repository files navigation

csiro

CSIRO app container

note: assumes docker installed and dockerhub/ghcr account configured and logged in appropriately to pull image

Examples

Designing a system to integrate app into

Example Architecture - Large

Example usage demo


Pull the image and run locally

#DockerHub
docker pull zzpz/csiro-node-app:latest
#run the image, mounting local input/output folders
docker run -ti -v $(pwd)/input:/app/input -v $(pwd)/output:/app/output csiro-node-app

or

#Github Container Registry
docker pull ghcr.io/zzpz/csiro-node-app:latest
#run the image, mounting local input/output folders
docker run -ti -v $(pwd)/input:/app/input -v $(pwd)/output:/app/output csiro-node-app

Building and running locally

Build the node app

npm run build

Build the docker image

docker build . -t csiro-node-app

Run using qualified path input/output folders mounted in image

INPUT_FOLDER=$(pwd)/input
OUTPUT_FOLDER=$(pwd)/output
docker run -ti -v ${INPUT_FOLDER}:/app/input -v ${OUTPUT_FOLDER}:/app/output csiro-node-app

or Run using and mount input/output from current directory:

docker run -ti -v $(pwd)/input:/app/input -v $(pwd)/output:/app/output csiro-node-app

About

CSIRO Fast Healthcare Interoperability Resources Transform App

Resources

Stars

Watchers

Forks

Packages