forked from bell-avery/geocurate
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
46 lines (41 loc) · 1.1 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
FROM --platform=linux/amd64 rocker/shiny-verse:4.2.2
# Install necessary R packages and prepare Shiny server dir.
RUN apt-get update -qq \
&& apt-get -y --no-install-recommends install \
lbzip2 libv8-dev libjpeg-dev libgeos-dev libudunits2-0 libudunits2-dev \
libgdal-dev openjdk-8-jdk liblzma-dev libbz2-dev libicu-dev libssl-dev \
&& R CMD javareconf \
&& install2.r --error --deps TRUE \
assertive \
data.table \
DT \
feather \
fs \
httr \
janitor \
later \
plotly \
Rcpp \
RColorBrewer \
RCurl \
rJava \
rhandsontable \
rlang \
shinyBS \
shinycssloaders \
shinydashboard \
shinyjs \
shinyWidgets \
xlsx \
xml2 \
yaml \
&& R -e "devtools::install_github('AnalytixWare/ShinySky')" \
&& R -e "BiocManager::install('GEOquery')" \
&& rm -rf /srv/shiny-server/* \
&& mkdir /srv/shiny-server/TidyGEO \
&& ln -s /srv/shiny-server/TidyGEO /TidyGEO
COPY . /srv/shiny-server/TidyGEO/
WORKDIR /srv/shiny-server
RUN Rscript TidyGEO/Combine_Series_Platforms.R
RUN Rscript TidyGEO/generate_rscript_functions.R
USER shiny