dashomu / Dockerfile
jfulponi's picture
Eliminado el apt install de panda debido a fallas con el get
aa73b65 verified
raw
history blame contribute delete
555 Bytes
FROM rocker/geospatial:latest
RUN wget https://github.com/jgm/pandoc/releases/download/3.1.13/pandoc-3.1.13-1-amd64.deb
RUN dpkg -i pandoc-3.1.13-1-amd64.deb
RUN apt-get update && \
apt-get upgrade -y && \
apt-get clean
RUN R -e "install.packages(pkgs=c('shiny', 'dplyr', 'tidyr', 'flexdashboard', 'highcharter', 'sf', 'plotly', 'rmarkdown', 'leaflet'), repos='https://cran.rstudio.com/')"
COPY . .
EXPOSE 7860
# run app
CMD ["R","--quiet", "-e", "rmarkdown::run(file.path('R','dash_v2.Rmd'), shiny_args=list(host='0.0.0.0', port=7860))"]