jenniferzhou33 commited on
Commit
102cd53
·
verified ·
1 Parent(s): aefe3f5

update docker file

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -29,7 +29,11 @@ RUN mkdir -p /opt/X11/var/cache/fontconfig && \
29
 
30
  # Install R packages
31
  RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
32
- RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install(c('BSgenome', 'BSgenome.Hsapiens.UCSC.hg19', 'GenomeInfoDb', 'deconstructSigs'))"
 
 
 
 
33
 
34
  # Copy the rest of your application
35
  COPY . /app
 
29
 
30
  # Install R packages
31
  RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
32
+ RUN R -e "install.packages('BiocManager', repos='http://cran.rstudio.com/')"
33
+ RUN R -e "BiocManager::install('deconstructSigs', ask=FALSE, update=FALSE)"
34
+ RUN R -e "BiocManager::install('BSgenome', ask=FALSE, update=FALSE)"
35
+ RUN R -e "BiocManager::install('BSgenome.Hsapiens.UCSC.hg19', ask=FALSE, update=FALSE)"
36
+ RUN R -e "BiocManager::install('GenomeInfoDb', ask=FALSE, update=FALSE)"
37
 
38
  # Copy the rest of your application
39
  COPY . /app