OpenAlex4Gephi / Dockerfile
Ifeanyi's picture
Update Dockerfile
cd87b80
raw
history blame
758 Bytes
FROM rocker/shiny-verse:latest
WORKDIR /code
# Install stable packages from CRAN
RUN install2.r --error \
shiny \
shinyalert \
shinythemes \
shinycssloaders \
shinyWidgets \
spsComps \
bslib \
reactable \
reactablefmtr \
dplyr
RUN R -e "install.packages('devtools')"
# Install the package from GitHub
RUN R -e "devtools::install_github('ekmaloney/openalexR')"
# Install development packages from GitHub
RUN installGithub.r \
rstudio/bslib \
rstudio/httpuv \
&& R -e "install.packages('remotes', repos='http://cran.rstudio.com/')" \
&& R -e "remotes::install_github('github_username/github_repo')"
COPY . .
CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"]