FROM rocker/shiny-verse:4.3.1 WORKDIR /app # Install additional R packages not in shiny-verse RUN install2.r --error \ shinyjs \ shinyalert \ shinyWidgets \ bslib \ cowplot \ reshape2 \ gridExtra \ deSolve \ MESS \ ggstream \ promises \ future \ plotly \ markdown COPY . /app/ # Make sure the app runs on the correct port for HuggingFace EXPOSE 7860 CMD ["R", "-e", "shiny::runApp('/app/app.R', host='0.0.0.0', port=7860)"]