Public Repository

Last pushed: 2 years ago
Short Description
Deployment environment for Absolute Risk Calculator
Full Description

Tags

latest, centos7, c7 (applications/absoluteRisk/absoluteRisk.c7.dockerfile)
centos6, c6 (applications/absoluteRisk/absoluteRisk.c6.dockerfile)

Description

This image contains the deployment environment for the Absolute Risk Calculator. The deployment procedure may look something like this:


  • Clone the Absolute Risk/common resources repositories
    git clone https://github.com/CBIIT/nci-webtools-dceg-risk-assessment /tmp/risk_assessment
    git clone https://github.com/CBIIT/nci-analysis-tools-web-presence.git /tmp/web_presence

  • Copy the application files to a local deployment directory
    sudo mkdir -p /local/absoluteRisk/app /local/absoluteRisk/logs
    sudo chown -R `id -u`:`id -g` /local/absoluteRisk
    cp -r /tmp/risk_assessment/absoluteRisk/* /local/absoluteRisk/app/
    cp -r /tmp/web_presence/common /local/absoluteRisk/app/

  • Pull the latest image and start a new container
    docker pull cbiitss/absoluterisk
    docker run \
    --detach \
    --name absoluteRisk \
    --publish 8000:8000 \
    --user `id -u`:`id -g` \
    --volume /etc/localtime:/etc/localtime:ro \
    --volume /local/absoluteRisk/:/deploy/ \
    cbiitss/absoluterisk
    

The application is now running on localhost:8000

Docker Pull Command
Owner
cbiitss