mellon / Dockerfile
fallingstar10's picture
Upload Dockerfile
baad1fd verified
raw
history blame contribute delete
515 Bytes
#dockerfile
# build image
FROM rocker/shiny:latest
RUN R -e 'install.packages("pak")' && \
R -e 'pak::pkg_install(c("shiny","shinyWidgets","readxl","fs","dplyr","tidyr","stringr","bslib","thematic"),upgrade = TRUE,ask= FALSE, dependencies = NA)' &&\
R -e 'pak::cache_clean()'
RUN mkdir /deploy
ADD . /deploy
WORKDIR /deploy
RUN R -e 'pak::pak("rainoffallingstar/mellon");pak::cache_clean()'
EXPOSE 7860
CMD R -e "options('shiny.port'=7860,shiny.host='0.0.0.0');library(mellon);mellon::hemat_assistant()"