Skip to content

Commit

Permalink
use version radar version 0.2 and configure to be compatible with che…
Browse files Browse the repository at this point in the history
…ckpoint package
  • Loading branch information
gadeynebram committed Jan 23, 2020
1 parent ad19835 commit afbaa8b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.libPaths( c("~/Rlibs",.libPaths()) )
options(repos = c(CRAN = "https://mran.revolutionanalytics.com/snapshot/2019-12-17"))
16 changes: 10 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM rocker/shiny-verse
WORKDIR /srv/shiny-server/
RUN wget https://github.com/open-ams/radar/archive/v0.1.zip
RUN unzip v0.1.zip
RUN mv radar-0.1 radar
RUN rm v0.1.zip
RUN R < /srv/shiny-server/radar/dependencies.R
COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
RUN wget https://github.com/open-ams/radar/archive/v0.2.zip
RUN unzip v0.2.zip
RUN mv radar-0.2 radar
RUN rm v0.2.zip
COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
USER shiny
RUN mkdir /home/shiny/Rlibs
RUN mkdir /home/shiny/.checkpoint
COPY .Rprofile /home/shiny/.Rprofile
RUN R < /srv/shiny-server/radar/dependencies.R
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ A docker image to run the [RadaR](https://github.com/open-ams/radar) project.
Assuming your working directory is the root of this repository

```
docker build -t radar .
docker run --name=radar -p 3838:3838 --mount source=data,target=/srv/shiny-server/radar/data radar
docker run --name=radar -p 3838:3838 --mount type=bind,source="$(pwd)"/data,target=/srv/shiny-server/radar/data openams/radar
```

# Data files
Expand Down

0 comments on commit afbaa8b

Please sign in to comment.