VarWiz / Dockerfile
vojtam's picture
Update Dockerfile
8d2d99d verified
raw
history blame
746 Bytes
FROM rocker/shiny-verse:4.3.0
# 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 \
g3viz \
gargoyle \
thematic \
stats \
plotly \
shinyjs
# Install development packages from GitHub
RUN installGithub.r \
rstudio/bslib \
rstudio/httpuv \
RinteRface/bs4Dash
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)"]