forked from SomaLogic/ProViz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
34 lines (25 loc) · 1.69 KB
/
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
FROM rocker/shiny:4.2.2
RUN apt-get update && apt-get install libcurl4-openssl-dev libssl-dev -y
RUN R -e "install.packages('remotes')"
RUN R -e "remotes::install_version('DT', version = '0.17', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('dplyr', version = '1.0.6', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('ggbeeswarm', version = '0.6.0', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('ggplot2', version = '3.3.3', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('magrittr', version = '2.0.1', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('plotly', version = '4.9.3', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('readr', version = '1.4.0', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('shiny', version = '1.6.0', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('shinydashboard', version = '0.7.1', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('shinyWidgets', version = '0.6.0', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_version('tidyr', version = '1.1.3', repos = 'http://cran.us.r-project.org')"
RUN R -e "remotes::install_github('Somalogic/SomaDataIO@v5.3.1')"
RUN mkdir /srv/shiny-server/ProViz
COPY global.R /srv/shiny-server/ProViz/.
COPY ui.R /srv/shiny-server/ProViz/.
COPY server.R /srv/shiny-server/ProViz/.
RUN mkdir /srv/shiny-server/ProViz/www
COPY www /srv/shiny-server/ProViz/www/.
COPY shiny-server.conf /etc/shiny-server/.
RUN chmod -R 755 /srv/shiny-server/
EXPOSE 3838
CMD ["/usr/bin/shiny-server"]