Skip to content

Commit

Permalink
Add tinytex to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
almahmoud committed Jul 31, 2024
1 parent cae4a3d commit 6f61e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COPY --chown=shiny:shiny . /tmp/repo/

USER shiny

RUN cd /tmp/repo && Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(ask=FALSE)" && Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories())" && rm -rf /tmp/repo
RUN cd /tmp/repo && Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); BiocManager::install(ask=FALSE)" && Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories()); tinytex::install_tinytex()" && rm -rf /tmp/repo

COPY --chown=shiny:shiny app.R /srv/shiny-server/biocshiny/app.R

Expand Down

0 comments on commit 6f61e24

Please sign in to comment.