Download Dockerfile from softwareDevelopment/Phenotypic_data_analysis: direct link, hf CLI and curl.
- Browser
- Download file 1.64 kB
-
https://huggingface.co/spaces/softwareDevelopment/Phenotypic_data_analysis/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/softwareDevelopment/Phenotypic_data_analysis/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/softwareDevelopment/Phenotypic_data_analysis/resolve/main/Dockerfile
1.64 kB
| FROM rocker/shiny:latest | |
| # Set working directory inside container | |
| WORKDIR /code | |
| # Install additional system dependencies including libglpk for igraph | |
| RUN apt-get update && apt-get install -y \ | |
| libcurl4-openssl-dev \ | |
| libssl-dev \ | |
| libxml2-dev \ | |
| libnlopt-dev \ | |
| libicu-dev \ | |
| libgdal-dev \ | |
| libgeos-dev \ | |
| libproj-dev \ | |
| libv8-dev \ | |
| libnode-dev \ | |
| libglpk-dev \ | |
| libglpk40 | |
| # Install remotes package first (needed for GitHub installations) | |
| RUN install2.r --error remotes | |
| # Install DT dependencies first | |
| RUN install2.r --error \ | |
| htmltools \ | |
| htmlwidgets \ | |
| jsonlite \ | |
| crosstalk \ | |
| magrittr \ | |
| promises | |
| # Then install the main packages (removed colorpicker from this list) | |
| RUN install2.r --error \ | |
| nloptr \ | |
| lme4 \ | |
| emmeans \ | |
| readxl \ | |
| plotly \ | |
| shinyjs \ | |
| shinyWidgets \ | |
| DT \ | |
| RColorBrewer \ | |
| ggrepel \ | |
| openxlsx \ | |
| blme \ | |
| pbkrtest \ | |
| lmerTest \ | |
| GGally \ | |
| corrplot \ | |
| agricolae \ | |
| car \ | |
| broom \ | |
| cluster \ | |
| factoextra \ | |
| pheatmap \ | |
| RColorBrewer \ | |
| moments \ | |
| reshape2 \ | |
| gridExtra | |
| # Install tidyverse and igraph | |
| RUN install2.r --error tidyverse igraph | |
| # Install colourpicker from GitHub | |
| RUN R -e "remotes::install_github('daattali/colourpicker')" | |
| # Create www directory and health file directly (NO external file needed) | |
| RUN mkdir -p /code/www && echo "OK" > /code/www/health | |
| # Copy app code | |
| COPY app.R /code/ | |
| # Expose the port Shiny will run on | |
| EXPOSE 7860 | |
| # Run the app with corrected host address | |
| CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"] |