Team Ai
Apppublic

softwareDevelopment/Phenotypic_data_analysis

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
0likes
Dockerfile79 linesDownload Raw Back to root
1FROM rocker/shiny:latest2 3# Set working directory inside container4WORKDIR /code5 6# Install additional system dependencies including libglpk for igraph7RUN apt-get update && apt-get install -y \8    libcurl4-openssl-dev \9    libssl-dev \10    libxml2-dev \11    libnlopt-dev \12    libicu-dev \13    libgdal-dev \14    libgeos-dev \15    libproj-dev \16    libv8-dev \17    libnode-dev \18    libglpk-dev \19    libglpk4020 21# Install remotes package first (needed for GitHub installations)22RUN install2.r --error remotes23 24# Install DT dependencies first25RUN install2.r --error \26    htmltools \27    htmlwidgets \28    jsonlite \29    crosstalk \30    magrittr \31    promises32 33# Then install the main packages (removed colorpicker from this list)34RUN install2.r --error \35    nloptr \36    lme4 \37    emmeans \38    readxl \39    plotly \40    shinyjs \41    shinyWidgets \42    DT \43    RColorBrewer \44    ggrepel \45    openxlsx \46    blme \47    pbkrtest \48    lmerTest \49    GGally \50    corrplot \51    agricolae \52    car \53    broom \54    cluster \55    factoextra \56    pheatmap \57    RColorBrewer \58    moments \59    reshape2 \60    gridExtra61    62 63# Install tidyverse and igraph64RUN install2.r --error tidyverse igraph65 66# Install colourpicker from GitHub67RUN R -e "remotes::install_github('daattali/colourpicker')"68 69# Create www directory and health file directly (NO external file needed)70RUN mkdir -p /code/www && echo "OK" > /code/www/health71 72# Copy app code73COPY app.R /code/74 75# Expose the port Shiny will run on76EXPOSE 786077 78# Run the app with corrected host address79CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"]