Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 547 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 547 Bytes

R Shiny as a Rhino app

cd r-rhino/rhino-app
R -q -e "shiny::runApp(port=8080)"

Pull and run Docker image:

docker pull ghcr.io/h10y/faithful/r-rhino:latest
docker run -p 8080:3838 ghcr.io/h10y/faithful/r-rhino:latest

Containerized version:

# Change directory
cd r-rhino

# If on MacOS X, set this
export DOCKER_DEFAULT_PLATFORM=linux/amd64

# Specify tag
export TAG=faithful/r-rhino:latest

# Build image
docker build -t $TAG .

# Run image, visit http://localhost:8080
docker run --rm -p 8080:3838 $TAG