Skip to content

Commit

Permalink
fix DockerFile
Browse files Browse the repository at this point in the history
  • Loading branch information
philouail committed Oct 10, 2024
1 parent 4eb5dd2 commit 21a4365
Show file tree
Hide file tree
Showing 4 changed files with 3,151 additions and 64 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ RUN Rscript -e "BiocManager::install(c('RCurl', 'xcms', 'MsExperiment', 'Summari
## Install the current package with vignettes
RUN Rscript -e "devtools::install('.', dependencies = TRUE, type = 'source', build_vignettes = FALSE)"

## USER rstudio
USER rstudio

## build article for end-to-end:test
##RUN Rscript -e "quarto::quarto_render('vignettes/a-end-to-end-untargeted-metabolomics.qmd', quiet = FALSE)"
RUN Rscript -e "quarto::quarto_render('vignettes/a-end-to-end-untargeted-metabolomics.qmd', quiet = FALSE)"

##USER root
USER root

##RUN find vignettes/ -name "*.html" -type f -delete && find vignettes/ -name "*_files" -type d -exec rm -r {} +
RUN find vignettes/ -name "*.html" -type f -delete && find vignettes/ -name "*_files" -type d -exec rm -r {} +
Loading

0 comments on commit 21a4365

Please sign in to comment.