Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricie34 authored Aug 1, 2024
1 parent 8631be5 commit a5b45f8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions rdocker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ RUN apt-get update && apt-get install -y \
&& apt-get install -y --no-install-recommends r-base \
&& rm -rf /var/lib/apt/lists/*

# Install R packages from CRAN
RUN R -e "install.packages(c('ggplot2', 'scales', 'gtable', 'grid'), repos='http://cran.rstudio.com/')"

# Install Bioconductor and DNAcopy package
RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install('DNAcopy')"
# Install R packages from CRAN and Bioconductor
RUN R -e "install.packages(c('ggplot2', 'scales', 'gtable', 'grid'), repos='http://cran.rstudio.com/')" \
&& R -e "if (!require('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install('DNAcopy')"

# Set the working directory (optional)
WORKDIR /app


0 comments on commit a5b45f8

Please sign in to comment.