-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
44 lines (38 loc) · 867 Bytes
/
Dockerfile
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
FROM rocker/shiny:4.2.1
ENV SHINY_LOG_STDERR 1
RUN apt-get update && apt-get install -y \
libcurl4-gnutls-dev \
libssl-dev \
libxml2 \
libudunits2-dev \
libproj-dev \
libgdal-dev
RUN R -e 'install.packages(c(\
"shiny",\
"plotly",\
"leaflet",\
"leaflet.extras",\
"plyr",\
"dplyr",\
"rgdal",\
"shinyWidgets",\
"rnaturalearth",\
"tidyverse",\
"sf",\
"rgeos",\
"httr",\
"jsonlite",\
"raster",\
"data.table",\
"DT",\
"leafem",\
"RColorBrewer",\
"shinydisconnect",\
"shinyjs",\
"leaflet.multiopacity"\
),\
repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2022-09-02"\
)'
COPY ./app/* /srv/shiny-server/
EXPOSE 3838
CMD ["/usr/bin/shiny-server"]