-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.local
31 lines (28 loc) · 1.35 KB
/
Dockerfile.local
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
# syntax=docker/dockerfile:1
FROM rocker/shiny-verse:4.2.1
RUN apt-get update && apt-get install -yq \
libbz2-dev \
libhdf5-dev \
libnetcdf-dev \
build-essential \
libgd-dev \
libudunits2-dev \
libproj-dev \
libgdal-dev \
texlive-latex-base \
texlive-fonts-recommended \
texlive-fonts-extra \
texlive-latex-extra
RUN Rscript -e 'install.packages(c("devtools", "BiocManager", "tidyverse", "ggrepel", "httr", "rjson", "mvtnorm", "tmvtnorm", \
"imputeLCMD", "plotly", "DT", "testthat", "RColorBrewer", "shiny","shinyalert","shinydashboard", \
"shinyjs", "svglite", "rhandsontable", "shinyBS", "shinyWidgets", "ggVennDiagram", "conflicted", "png", "vegan", \
"shinycssloaders","shiny.info","UpSetR"), dependencies=TRUE)'
### #FROM bioconductor/bioconductor_docker:RELEASE_3_15
RUN Rscript -e 'BiocManager::install(pkgs=c("ensembldb", "EnsDb.Hsapiens.v86", "DEP", "SummarizedExperiment", "limma", "ComplexHeatmap", "impute", "pcaMethods"), ask=F, dependencies=TRUE)'
### RUN Rscript -e 'install.packages("renv")'
COPY ./ /srv/shiny-server/fragpipe-analyst
COPY shiny-server.conf.prod /etc/shiny-server/shiny-server.conf
### replace google_analytics.html with a new empty file
WORKDIR /srv/shiny-server/fragpipe-analyst
RUN rm "google_analytics.html" && touch "google_analytics.html"
RUN chmod -R +r /srv/shiny-server/fragpipe-analyst