-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (17 loc) · 910 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
FROM rocker/shiny-verse
COPY app/ /srv/shiny-server
RUN R -e "install.packages(c('DT', 'thematic', 'bsicons', 'bslib', 'bs4Dash', 'fresh', 'shinycssloaders', 'plotly', 'remotes', 'pkgload', 'googleAuthR', 'glue', 'gtrendsR', 'forcats', 'waiter'), repos='http://cran.rstudio.com/')"
RUN R -e "remotes::install_github('ebenmichael/augsynth')"
RUN R -e "remotes::install_github('facebookincubator/GeoLift')"
RUN R -e "remotes::install_github('neilc-itv/itvPalette')"
RUN R -e "remotes::install_github('itv/baRb')"
RUN R -e "remotes::install_github('neilc-itv/geoxR')"
COPY shiny-customised.config /etc/shiny-server/shiny-server.conf
COPY auth.json /srv/shiny-server/auth.json
COPY client_secret.json /srv/shiny-server/client_secret.json
RUN ls --recursive /srv/shiny-server
EXPOSE 8080
USER shiny
# avoid s6 initialization
# see https://github.com/rocker-org/shiny/issues/79
CMD ["/usr/bin/shiny-server"]