-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
75 lines (64 loc) · 1.65 KB
/
Dockerfile
File metadata and controls
75 lines (64 loc) · 1.65 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
FROM rocker/shiny-verse:3.6.1
# install linux libraries
RUN apt-get update && apt-get install libcurl4-openssl-dev \
libv8-3.14-dev \
libbz2-dev \
zlib1g-dev \
libbz2-1.0 \
libbz2-ocaml \
libbz2-ocaml-dev \
libjpeg-dev \
libncurses5-dev \
libncursesw5-dev \
liblzma-dev -y &&\
mkdir -p /var/lib/shiny-server/bookmarks/shiny
# install github packages
RUN R -e "devtools::install_github('thomasp85/patchwork')"
RUN R -e "devtools::install_github('glin/reactable')"
RUN R -e "devtools::install_github('rnabioco/valr')"
RUN R -e "devtools::install_github('frequena/bioloupe')"
# install CRAN packages
RUN R -e "install.packages(c('shinydashboard', \
'shinyjs', \
'dplyr', \
'highcharter', \
'ggraph', \
'ggrepel', \
'shinyhelper', \
'igraph', \
'widyr', \
'prettydoc', \
'ontologySimilarity', \
'ontologyIndex', \
'formattable', \
'hrbrthemes', \
'import', \
'BiocManager', \
'tablerDash', \
'shinyEffects', \
'echarts4r', \
'shinyWidgets', \
'DT', \
'shinymanager', \
'gghighlight', \
'shinycssloaders', \
'DescTools', \
'rentrez', \
'reactable', \
'ggridges', \
'UpSetR', \
'shinyalert', \
'networkD3', \
'XML', \
'shiny'))"
# install Bioconductor packages
RUN Rscript -e "BiocManager::install(c('karyoploteR','Gviz','TissueEnrich', 'Rhtslib', 'ReactomePA', 'clusterProfiler', 'org.Hs.eg.db', 'DOSE', 'chromPlot'))"
# Copy the app to the image
COPY CNVxplorer /srv/shiny-server/
# Updated configuration file
RUN cat /srv/shiny-server/shiny-server.txt > /etc/shiny-server/shiny-server.conf
RUN echo 'allow_app_override;' >> /etc/shiny-server/shiny-server.conf
# Make all app files readable
RUN chmod -R +r /srv/shiny-server/
EXPOSE 3838
CMD ["/usr/bin/shiny-server.sh"]