@@ -15,24 +15,53 @@ RUN apt-get install -y libgeos-dev
1515
1616RUN apt-get install -y libglpk40 libglpk-dev
1717
18- RUN apt-get install -y libpng-dev
1918
20- # Install renv
21- RUN R -e "install.packages('renv', repos='https://cloud.r-project.org')"
22-
19+ # Install R packages
20+ RUN R -e 'install.packages("cowplot", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-04-20")'
21+ RUN R -e 'install.packages("data.table", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
22+ RUN R -e 'install.packages("dplyr", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
23+ RUN R -e 'install.packages("DT", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
24+ RUN R -e 'install.packages("ff", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
25+ RUN R -e 'install.packages("ggfun", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-27")'
26+ RUN R -e 'install.packages("ggplot2", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-12-23")'
27+ RUN R -e 'install.packages("ggplotify", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-20")'
28+ RUN R -e 'install.packages("ggpubr", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-09-19")'
29+ RUN R -e 'install.packages("ggrepel", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-20")'
30+ RUN R -e 'install.packages("ggridges", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-20")'
31+ RUN R -e 'install.packages("gridExtra", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
32+ RUN R -e 'install.packages("magrittr", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-12-23")'
33+ RUN R -e 'install.packages("Matrix", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-01-20")'
34+ RUN R -e 'install.packages("matrixStats", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
35+ RUN R -e 'install.packages("msigdbr", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-12-07")'
36+ RUN R -e 'install.packages("patchwork", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-20")'
37+ RUN R -e 'install.packages("plotly", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-04-20")'
38+ RUN R -e 'install.packages("reshape2", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
39+ RUN R -e 'install.packages("Seurat", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2022-05-20")'
40+ RUN R -e 'install.packages("shiny", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-04-23")'
41+ RUN R -e 'install.packages("shinycssloaders", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-04-23")'
42+ RUN R -e 'install.packages("shinydashboard", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-04-23")'
43+ RUN R -e 'install.packages("shinyjs", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2021-04-23")'
44+ RUN R -e 'install.packages("shinythemes", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
45+ RUN R -e 'install.packages("stringi", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
46+ RUN R -e 'install.packages("stringr", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2023-04-20")'
47+ RUN R -e 'install.packages("tidytree", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-04-20")'
48+
49+ RUN R -e 'install.packages("BiocManager")'
50+ RUN R -e 'BiocManager::install("scuttle")'
51+ RUN R -e 'BiocManager::install("BiocSingular")'
52+ RUN R -e 'BiocManager::install("fgsea")'
53+
54+ RUN R -e 'install.packages("devtools")'
55+ RUN R -e 'remotes::install_github("YuLab-SMU/ggtree")'
56+ RUN R -e 'devtools::install_github("XiaoLuo-boy/ggheatmap")'
57+ RUN R -e 'install.packages("gplots", repos="https://packagemanager.rstudio.com/cran/__linux__/focal/2024-10-20")'
58+
2359# Set the working directory
2460WORKDIR /home/app
2561
2662# Copy the app directory into the image
2763COPY . /home/app
2864
29- ENV RENV_DOWNLOAD_METHOD=libcurl
30-
31- # Restore the environment exactly
32- RUN R -e "renv::restore()"
33-
34- RUN R -e 'devtools::install_github("XiaoLuo-boy/ggheatmap")'
35-
3665# Expose the port
3766EXPOSE 3838
3867
0 commit comments