File size: 825 Bytes
d705e7f 307cabd 99d1d30 8d2d99d ab9f939 8d2d99d 3f26c11 de7e977 3f26c11 09902aa 3f26c11 218caf9 dc7b5fc 09902aa 99d1d30 307cabd 99d1d30 307cabd 69b1e52 307cabd 99d1d30 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
FROM rocker/shiny-verse:4.3.1
RUN apt-get update && apt-get install -y libbz2-dev
# Workaround for renv cache
RUN mkdir /.cache
RUN chmod 777 /.cache
WORKDIR /code
RUN install2.r --error \
BiocManager
CMD ["R", "--quiet", "-e", "BiocManager::install("cBioPortalData")"]
RUN install2.r --error \
shiny \
DT \
rhino \
data.table \
gargoyle \
thematic \
shinyWidgets \
stats \
plotly \
shinyjs
# Install development packages from GitHub
RUN installGithub.r \
rstudio/bslib \
rstudio/httpuv \
RinteRface/bs4Dash \
vojtam/g3viz
COPY . .
# Copy application code
COPY . .
# Install dependencies
#RUN Rscript -e 'options(renv.config.cache.enabled = FALSE); renv::restore(prompt = FALSE)'
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]
|