International Rice Research Institute commited on
Update Dockerfile
Browse files- Dockerfile +12 -7
Dockerfile
CHANGED
|
@@ -3,7 +3,7 @@ FROM rocker/shiny:latest
|
|
| 3 |
# Set working directory inside container
|
| 4 |
WORKDIR /code
|
| 5 |
|
| 6 |
-
# Install additional system dependencies
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libcurl4-openssl-dev \
|
| 9 |
libssl-dev \
|
|
@@ -14,7 +14,9 @@ RUN apt-get update && apt-get install -y \
|
|
| 14 |
libgeos-dev \
|
| 15 |
libproj-dev \
|
| 16 |
libv8-dev \
|
| 17 |
-
libnode-dev
|
|
|
|
|
|
|
| 18 |
|
| 19 |
# Install DT dependencies first
|
| 20 |
RUN install2.r --error \
|
|
@@ -31,16 +33,19 @@ RUN install2.r --error \
|
|
| 31 |
lme4 \
|
| 32 |
emmeans \
|
| 33 |
readxl \
|
| 34 |
-
ggplot2 \
|
| 35 |
plotly \
|
| 36 |
shinyjs \
|
| 37 |
shinyWidgets \
|
| 38 |
DT \
|
| 39 |
-
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
#
|
| 42 |
-
RUN
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
# Copy app code
|
| 46 |
COPY app.R /code/
|
|
|
|
| 3 |
# Set working directory inside container
|
| 4 |
WORKDIR /code
|
| 5 |
|
| 6 |
+
# Install additional system dependencies including libglpk for igraph
|
| 7 |
RUN apt-get update && apt-get install -y \
|
| 8 |
libcurl4-openssl-dev \
|
| 9 |
libssl-dev \
|
|
|
|
| 14 |
libgeos-dev \
|
| 15 |
libproj-dev \
|
| 16 |
libv8-dev \
|
| 17 |
+
libnode-dev \
|
| 18 |
+
libglpk-dev \
|
| 19 |
+
libglpk40
|
| 20 |
|
| 21 |
# Install DT dependencies first
|
| 22 |
RUN install2.r --error \
|
|
|
|
| 33 |
lme4 \
|
| 34 |
emmeans \
|
| 35 |
readxl \
|
|
|
|
| 36 |
plotly \
|
| 37 |
shinyjs \
|
| 38 |
shinyWidgets \
|
| 39 |
DT \
|
| 40 |
+
RColorBrewer \
|
| 41 |
+
ggrepel \
|
| 42 |
+
openxlsx
|
| 43 |
|
| 44 |
+
# Install tidyverse and igraph
|
| 45 |
+
RUN install2.r --error tidyverse igraph
|
| 46 |
+
|
| 47 |
+
# Create www directory and health file directly (NO external file needed)
|
| 48 |
+
RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
| 49 |
|
| 50 |
# Copy app code
|
| 51 |
COPY app.R /code/
|