Skip to content

Commit 04fc002

Browse files
committed
Dockerfile updated
1 parent 150de28 commit 04fc002

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

Dockerfile

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1-
FROM rocker/shiny-verse:3.4.3
2-
RUN apt-get update && apt-get install -y libnetcdf-dev libcairo2-dev
3-
RUN pkg-config --cflags cairo | export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
4-
RUN Rscript -e 'install.packages(c("devtools", "mvtnorm", "tmvtnorm","impute", "pcaMethods", "imputeLCMD", "plotly", "DT", "BiocManager","testthat", "RColorBrewer", "shiny","shinyalert","shinydashboard", "shinyjs", "svglite"), dependencies=TRUE, repos="http://cran.rstudio.com/")'
5-
RUN Rscript -e 'BiocManager::install(pkgs=c("DEP", "SummarizedExperiment", "limma", "ComplexHeatmap"))'
6-
COPY . /srv/shiny-server/LFQ-Analyst
1+
# syntax=docker/dockerfile:1
2+
FROM rocker/shiny-verse:4.2.1
3+
4+
RUN apt-get update && apt-get install -yq \
5+
libhdf5-dev libnetcdf-dev build-essential libgd-dev libbz2-dev libudunits2-dev libproj-dev libgdal-dev \
6+
texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra
7+
8+
RUN Rscript -e 'install.packages(c("devtools", "tidyverse", "ggrepel", "httr", "rjson", "mvtnorm", "tmvtnorm","impute", \
9+
"pcaMethods", "imputeLCMD", "plotly", "DT", "BiocManager","testthat", "RColorBrewer", "shiny","shinyalert","shinydashboard", \
10+
"shinyjs", "svglite", "rhandsontable", "shinyBS", "shinyWidgets", "ggVennDiagram"), dependencies=TRUE)'
11+
12+
#FROM bioconductor/bioconductor_docker:RELEASE_3_15
13+
RUN Rscript -e 'BiocManager::install(pkgs=c("DEP", "DT", "SummarizedExperiment", "limma", "ComplexHeatmap", ask=F))'
14+
15+
COPY ./ /srv/shiny-server/lfq-analyst
16+
COPY shiny-server.conf /etc/shiny-server/shiny-server.conf
17+
#RUN rm -f /srv/shiny-server/lfq-analyst/.Rprofile
18+
RUN chmod -R +r /srv/shiny-server/lfq-analyst

0 commit comments

Comments
 (0)