Spaces:
Sleeping
Sleeping
Commit ·
8deba3f
1
Parent(s): c1ca5bf
add cache for matplotlib
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -15,6 +15,8 @@ COPY requirements.txt /tmp/
|
|
| 15 |
# Note: Remove rpy2 from requirements.txt and install it here if necessary
|
| 16 |
RUN pip install -r /tmp/requirements.txt
|
| 17 |
RUN pip install rpy2==3.5.11
|
|
|
|
|
|
|
| 18 |
# Install R packages
|
| 19 |
RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
|
| 20 |
RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install(c('BSgenome', 'BSgenome.Hsapiens.UCSC.hg19', 'GenomeInfoDb', 'deconstructSigs'))"
|
|
|
|
| 15 |
# Note: Remove rpy2 from requirements.txt and install it here if necessary
|
| 16 |
RUN pip install -r /tmp/requirements.txt
|
| 17 |
RUN pip install rpy2==3.5.11
|
| 18 |
+
ENV MPLCONFIGDIR=/.cache/huggingface/hub
|
| 19 |
+
|
| 20 |
# Install R packages
|
| 21 |
RUN R -e "install.packages('reshape2', repos='http://cran.rstudio.com/')"
|
| 22 |
RUN R -e "if (!requireNamespace('BiocManager', quietly = TRUE)) install.packages('BiocManager'); BiocManager::install(c('BSgenome', 'BSgenome.Hsapiens.UCSC.hg19', 'GenomeInfoDb', 'deconstructSigs'))"
|