File size: 555 Bytes
5971547
8bc9552
aa73b65
 
 
8bc9552
 
 
 
 
1d9ce24
8bc9552
608c2d2
 
393202b
8bc9552
 
374ee71
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM rocker/geospatial:latest

RUN wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-amd64.deb

RUN dpkg -i pandoc-3.1.13-1-amd64.deb

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get clean

RUN R -e "install.packages(pkgs=c('shiny', 'dplyr', 'tidyr', 'flexdashboard', 'highcharter', 'sf', 'plotly', 'rmarkdown', 'leaflet'), repos='https://cran.rstudio.com/')" 

COPY . .

EXPOSE 7860

# run app
CMD ["R","--quiet", "-e", "rmarkdown::run(file.path('R','dash_v2.Rmd'), shiny_args=list(host='0.0.0.0', port=7860))"]