Spaces:
Sleeping
Sleeping
Download Dockerfile from Ifeanyi/OpenAlex4Gephi: direct link, hf CLI and curl.
- Browser
- Download file 754 Bytes
-
https://huggingface.co/spaces/Ifeanyi/OpenAlex4Gephi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ifeanyi/OpenAlex4Gephi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ifeanyi/OpenAlex4Gephi/resolve/main/Dockerfile
754 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 \ | |
| data.table \ | |
| dplyr \ | |
| openalexR | |
| # Install development packages from GitHub | |
| RUN installGithub.r \ | |
| rstudio/bslib \ | |
| rstudio/httpuv | |
| RUN mkdir -p /code/app_cache && chmod -R 777 /code/app_cache | |
| RUN mkdir -p /.cache && chmod -R 777 /.cache | |
| ENV R_USER_CACHE_DIR=/code/app_cache | |
| ENV SASS_CACHE_DIR=/code/app_cache | |
| ENV XDG_CACHE_HOME=/code/app_cache | |
| ENV RSTUDIO_CONFIG_HOME=/code/app_cache | |
| COPY . . | |
| CMD ["R", "--quiet", "-e", "shiny::runApp(host='0.0.0.0', port=7860)"] | |