-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
73 lines (62 loc) · 1.65 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
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
FROM rocker/shiny:3.5.3
LABEL maintainer="Christian Brueffer <[email protected]>"
###############################################
#
# General
#
###############################################
EXPOSE 3838/tcp
###############################################
#
# Package installation
#
###############################################
# install and configure the nginx shiny proxy
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y \
libssl-dev \
libbz2-dev \
liblzma-dev \
libxml2-dev
RUN R -e "install.packages(c( \
'cowplot', \
'dbplyr', \
'dplyr', \
'devtools', \
'DT', \
'DBI', \
'ggrepel', \
'httr', \
'jsonlite', \
'reshape2', \
'RColorBrewer', \
'RSQLite', \
'sessioninfo', \
'shinycssloaders', \
'shinyhelper', \
'shinyjs', \
'shinyWidgets', \
'stringr', \
'survminer', \
'yaml', \
'BiocManager' \
), clean = TRUE)"
RUN R -e "library(devtools); install_github('cbrueffer/survminer', ref='arrange_flexibility')"
RUN R -e "BiocManager::install(c( \
'reactome.db', \
'GenVisR' \
), clean = TRUE, version = '3.8', ask = FALSE, update = TRUE)"
###############################################
#
# Application installation
#
###############################################
ENV APP_LOCATION /srv/shiny-server/MutationExplorer
COPY *.R ${APP_LOCATION}/
COPY config.yaml ${APP_LOCATION}/
COPY google-analytics.js ${APP_LOCATION}/
COPY about.md ${APP_LOCATION}/
COPY R ${APP_LOCATION}/R
COPY helpfiles ${APP_LOCATION}/helpfiles
CMD /usr/bin/shiny-server.sh