File size: 446 Bytes
f4fe00d
 
 
 
3bba329
 
f4fe00d
7a95f9e
f4fe00d
9989631
7a95f9e
 
 
f4fe00d
 
 
 
 
 
7a95f9e
8631940
f4fe00d
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
FROM rocker/shiny-verse:latest

WORKDIR /code

RUN /rocker_scripts/install_geospatial.sh

# Install stable packages from CRAN
RUN install2.r --error -s \
    ggExtra \
    shiny \
    pak \
    stars \
    tmap

# Install development packages from GitHub
RUN installGithub.r \
    rstudio/bslib \
    rstudio/httpuv

# RUN R -e "pak::pkg_install('tmap', 'stars')"

COPY . .

CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]